Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[Breaking changes] Rework combobox-nav APIs and use ARIA 1.2 #21

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

Merged
merged 10 commits into from
Apr 23, 2020
Merged

Conversation

muan
Copy link
Contributor

@muan muan commented Apr 22, 2020

Summary of changes:

  • install() has been renamed to start(), for use when options shows up
  • uninstall() has been renamed stop(), for use when options are removed
  • Newly added install() sets required ARIA attributes, for initialization
  • Newly added uninstall() removes ARIA attributes, for breakdown

@jscholes This now adds an additional (required) call to set ARIA attributes; this was previously done inside of <auto-complete>'s element connected callback. I have one remaining question: Spec says to set aria-haspopup, but we've previously gotten the feedback that support for the attribute is poor for non-menu values. Would you recommend that we leave that out still here? EDIT: looks like the spec says it's already implicitly set to listbox for elements with combobox role.

muan added 8 commits April 20, 2020 14:18
- `install()` has been renamed to `start()`
- `uninstall()` has been renamed `stop()`
- Newly added `install()` sets require ARIA attributes
- Newly added `uninstall()` removes ARIA attributes
@muan muan requested a review from a team April 22, 2020 18:43
@jscholes
Copy link

jscholes commented Apr 23, 2020 via email

@muan
Copy link
Contributor Author

muan commented Apr 23, 2020

@jscholes Thanks! There are some more structural changes we want to make so I'm going to merge this first without cutting a release so avoid a giant PR. I'll ping you once those are reviewed, and definitely before we publish a new release.

@muan muan merged commit 700b300 into master Apr 23, 2020
@muan muan deleted the aria branch April 23, 2020 18:45
@koddsson koddsson mentioned this pull request Apr 28, 2020
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.

3 participants