diff options
author | michaelvogt <michael@vaadin.com> | 2013-05-17 10:29:01 +0300 |
---|---|---|
committer | Vaadin Code Review <review@vaadin.com> | 2013-05-17 07:49:32 +0000 |
commit | 4235382c0a0f39fbf040f9915cb12e0ba01baccf (patch) | |
tree | 5eb93bb81eb5fb33994d3cf5e9e6884227dcddf8 | |
parent | 3dd6b44897803edb8ec06a511931da47d47408e5 (diff) | |
download | vaadin-framework-4235382c0a0f39fbf040f9915cb12e0ba01baccf.tar.gz vaadin-framework-4235382c0a0f39fbf040f9915cb12e0ba01baccf.zip |
Add ARIA presentation role to FormLayout (#11866)
Change-Id: I307b1fdc3d1d1e338b3964468aaa868f7cd5fdb9
-rw-r--r-- | client/src/com/vaadin/client/ui/VFormLayout.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/client/src/com/vaadin/client/ui/VFormLayout.java b/client/src/com/vaadin/client/ui/VFormLayout.java index b2dc13178e..6c2661d1d8 100644 --- a/client/src/com/vaadin/client/ui/VFormLayout.java +++ b/client/src/com/vaadin/client/ui/VFormLayout.java @@ -95,6 +95,8 @@ public class VFormLayout extends SimplePanel { public VFormLayoutTable() { DOM.setElementProperty(getElement(), "cellPadding", "0"); DOM.setElementProperty(getElement(), "cellSpacing", "0"); + + Roles.getPresentationRole().set(getElement()); } /* |