Skip to content
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

Various changes to get ARIA 1.1 compatibility. #45

Open
wants to merge 1 commit into
base: trunk
Choose a base branch
from

Conversation

anemirovsky
Copy link

Add support for ARIA 1.1 per https://www.w3.org/TR/wai-aria-1.1/#combobox.

This pull request includes a

  • Bug fix
  • New feature
  • Translation

The following changes were made

  • "combobox" role attribute added to the wrapper
  • "aria-haspopup" changed from "true" (which means "menu") to "listbox"
    to correctly match the role of the element containing the options
  • "aria-activedescendant" removed from the combobox element so it
    appears just on the element with the "textbox" role
  • "aria-multiline" set to "false" for the textbox element
  • "aria-owns" switched to "aria-controls" on the textbox element

The following changes were made to match the spec at
https://www.w3.org/TR/wai-aria-1.1/#combobox:
* "combobox" role attribute added to the wrapper
* "aria-haspopup" changed from "true" (which means "menu") to "listbox"
  to correctly match the role of the element containing the options
* "aria-activedescendant" removed from the combobox element so it
  appears just on the element with the "textbox" role
* "aria-multiline" set to "false" for the textbox element
* "aria-owns" switched to "aria-controls" on the textbox element
YuriWPY added a commit to WhoPlusYou/select-woo that referenced this pull request May 6, 2022
YuriWPY added a commit to WhoPlusYou/select-woo that referenced this pull request May 6, 2022
YuriWPY added a commit to WhoPlusYou/select-woo that referenced this pull request May 6, 2022
pull requests woocommerce#44 and woocommerce#45 are merged to our code base from upstream
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant