Replace role="presentation" with aria-hidden="true" in order to fix a previous attempt at fixing an issue where screen readers will navigate to the hidden input of focusable containers when they should not: https://github.com/gwtproject/gwt/commit/bda85103bd88e9a58d0158e5a4a2946519e99bed Change-Id: I3dc0ecaa017a0fe5af8ea1dabb19cfacfe4d17a9
diff --git a/user/src/com/google/gwt/user/client/ui/impl/FocusImplStandard.java b/user/src/com/google/gwt/user/client/ui/impl/FocusImplStandard.java index f834a98..e094149 100644 --- a/user/src/com/google/gwt/user/client/ui/impl/FocusImplStandard.java +++ b/user/src/com/google/gwt/user/client/ui/impl/FocusImplStandard.java
@@ -42,7 +42,7 @@ var input = $doc.createElement('input'); input.type = 'text'; input.tabIndex = -1; - input.setAttribute('role', 'presentation'); + input.setAttribute('aria-hidden', 'true'); var style = input.style; style.opacity = 0; style.height = '1px';