-
Notifications
You must be signed in to change notification settings - Fork 344
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
Combobox Pattern and Examples: Convert to support draft ARIA 1.2 specification #1255
Conversation
@mcking65 Added the grid combobox example to the branch |
@mcking65 I updated the regression tests for the modified combobox examples for both, inline and none |
@jongund, thank you, thank you for the updates!!! I finished the editorial updates to the grid combobox example page. So, now, except for the tests, all 4 examples are ready for review. Do you have time to finish work on the tests? Tomorrow, Simon will work on the pattern revisions, and then the entire PR will be ready for review. |
@mcking65 and @jongund I would appreciate your review on my changes. Thanks! Also see #1250 (comment) |
We should update the tests as well. Edit: |
@mcking65 Why did you change the test ids grid-combo.html? Everything was working before the changes. I work on fixing the test cases to use the new test ids. |
@jongund asked:
Jon, I'm sorry ... I didn't mean to screw that up. I thought I made only changes where the test ID didn't match what needed to be tested. Technically, since we are using a text input, the ones that include textbox in the ID are fine, and I could have left that part of the ID alone. |
@mcking65 I updated the grid combobox regression test files |
Carolyn,thank you for the awesome reviews!! Except for the 2 where I commented otherwise, I merged all your suggestions. @carmacleod wrote:
Added this to #1066.
Is this something that could be addressed in #1263? Or added to one of the other open issues in the combobox project? Opened #1268 and scheduled in next milestone. |
I'm afraid that won't happen because the problem has been there for many years and not a single improvement has happened since.
The problem has nothing to do with |
@jongund wrote:
Removed it in commit dd6f6c0.
The very first bullet says that the element that displays the value has role combobox. That's all that is needed. However, I do think that we might eventually benefit from a property something like "aria-valuefrom" that would take an ID and explicitly define the source of the value for the combobox.
Certainly ... we need focus on that element. Obviously, it gets it by default if you use html input type text, but you would need to explicitly make the element focusable if it were not an element that is focusable by default. |
@@charmarkk, thank you very much for the thorough review!! I believe I have merged all your suggestions. |
@carmacleod wrote:
Removed with commit e51ad04. @spectranaut, This will need to be changed in the regression tests. |
|
VoiceOver+Chrome on macOS Catalina 10.15.1
VoiceOver+Safari on macOS Catalina 10.15.1
|
@carmacleod wrote:
Both these behaviors smell like bugs in our code and are also probably related to #1264. @spectranaut is working on #1264 today.
Interesting, confusing.
The fact that they do work in 10.14.6 does not necessarily implicate Safari, but kind of points in that direction. @accdc has some different implementations of the same pattern we could test with 10.15. Apple may have implemented overly restrictive processing of aria-activedescendant, overlooking the fact that the ARIA spec supports activedescendant on a text input or combobox that controls an element that also supports activedescendant.
This is almost certainly because of the inline selection.
VO-space is supposed to be equivalent to a mouse click on the element in the VO cursor. Given that, does VO announcing that VO-space should open the popup make sense? |
@mcking65 do we distinguish the term "focus" from "DOM focus" in the practices?
|
@mcking65 wrote:
I think that does make sense, Matt. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approving all of my editorial changes that Matt committed. Feedback provided/solved and other work done also looks good to me - great work everyone!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1 for working draft!
Combobox Pattern and Examples: Convert to support draft ARIA 1.2 specification (pull #1255) To resolve #1250 and resolve #1244: 1. Revise the combobox pattern to remove the ARIA 1.0 and ARIA 1.1 guidance and replace with ARIA 1.2 guidance. Keeps a note about ARIA 1.0. 2. In examples, remove ARIA 1.0 and ARIA 1.1 pattern subdirectories and examples. 3. Convert the 3 ARIA 1.0 listbox popup examples into a 1.2 example. 4. Convert the ARIA 1.1 grid popup example into a 1.2 example. 5. Revise regression tests for combobox examples to test the 1.2 versions.
Resolves #1250, resolves #1244.
Preview link
Preview work in progress in the compare branch for this PR
Review checklist
Preview | Diff