-
Notifications
You must be signed in to change notification settings - Fork 125
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
What does focusable or otherwise interactive mean #1192
Comments
Test results for JAWS (with IE 11, Chrome, Firefox): FreedomScientific/standards-support#256 |
@JAWS-test I'm not sure that helps answer the question above. |
@jnurthen: If I assume that JAWS is accessing the Accessibility API, the test results show how browsers currently interpret |
The ones it covers I believe are clear as to what should be the result. I'd really like to hear from those implementing this in browsers as to how they are interpreting all of the points so we can clarify the language in the spec. |
All of the above. In addition, in Firefox, a scrollable area (e.g. CSS overflow: auto where content overflows the box) becomes focusable to enable keyboard scrolling, so this also counts as focusable here.
Firefox doesn't look at events. However, presentation roles are ignored if Firefox thinks an element must be accessible, defined as:
|
@jnurthen I'm happy to take this issue and add appropriate words to the still-waiting-for-review PR #852. Just have to decide what the appropriate words are. :) In the waiting PR, the sentence that you quoted has been restructured using a bulleted list for clarity.
As an opening volley, based on @jcsteh's #1192 (comment), I suggest keeping the above bullet point intact, and linking the words "focusable" and "interactive" to the following definitions added to
Some links in the HTML spec that could be used to reduce the number of words in these definitions: |
Thanks @carmacleod @aleventhal @cookiecrook can you please update with your platform's behaviour. |
Yes. See screen shot of WebKit Accessibility Inspector. The "Write" tab in this edit view exposes its ancestor To some degree, this corresponds to what VoiceOver calls "clickable." More on that below.
All of the above, plus touch start/end/move events and a few others IIRC. WebKit ignores marking an element as clickable if event delegation is on the However, there are still cases where VO will announce something as clickable if both are true:
For example, if a button, link, and static text are all inside a container that has a delegate listener, only the static text is announced as "clickable" b/c the user already knows that buttons and links are clickable. The heuristics aren't perfect, but seem to be working reasonably well. I don't think they've changed in the 7 or 8 years since accounting for the body delegation pattern. |
It would be good to address #1270 when resolving this. |
Presentation role conflict resolution states:
"If an element is focusable, or otherwise interactive, user agents MUST ignore the presentation role and expose the element as described in the accessibility API mappings for presentational objects that remain in the accessibility tree, in order to ensure that the element is both understandable operable."
We need to know what platforms are actually doing here and (if they are in agreement) clarify the text to match reality. If they are not in agreement we can deal with that too.....
Q1 - So what does focusable actually mean?
Q2 - Do any user agents actually do anything with the "otherwise interactive" part? If so what are they looking at
If they are looking at these, how can that actually work taking into account event delegation.
So @aleventhal @cookiecrook @jcsteh what do chromium, webkit & gecko actually do here.
The text was updated successfully, but these errors were encountered: