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

Clarifications for HTML's autocomplete and aria-autocomplete #2350

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

scottaohara
Copy link
Member

@scottaohara scottaohara commented Oct 8, 2024

Closes #2337

  • updates autocomplete mapping for the form element (it doesn't map directly to the form element, but rather owned form controls will expose a supports autocompletion mapping, or not).
  • Calls out that aria-autocomplete is not supported on the form element or elements with role=form
  • identify that it can be ok to use aria-autocomplete=" [ valid value ] " and autocomplete=off together, but that for autocomplete=" [ valid value ] " and aria-autocomplete="[ valid value ] ", UA behavior should win out.

not sure how much more detail needs to be provided, as attempting to do so felt like treading into repeating what is already defined in each spec for these attributes (html / aria).

Test, Documentation and Implementation tracking

Once this PR has been reviewed and has consensus from the working group, tests should be written and issues should be opened on browsers. Add N/A and check when not applicable.

  • "author MUST" tests:
  • "user agent MUST" tests:
  • Browser implementations (link to issue or commit):
    • WebKit:
    • Gecko:
    • Blink:
  • Does this need AT implementations?
  • Related APG Issue/PR:
  • MDN Issue/PR:

Copy link

netlify bot commented Oct 8, 2024

Deploy Preview for wai-aria ready!

Name Link
🔨 Latest commit 8d25c19
🔍 Latest deploy log https://app.netlify.com/sites/wai-aria/deploys/6712c6cdfc200d00085aec5e
😎 Deploy Preview https://deploy-preview-2350--wai-aria.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

html-aam/index.html Outdated Show resolved Hide resolved
Copy link
Contributor

@MelSumner MelSumner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Other than a suggested change for a spelling error, this looks okay to ship IMO.

thank you @MelSumner.

Co-authored-by: Melanie Sumner <melaniersumner@gmail.com>
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.

Clarify aria-autocomplete and autocomplete semantic equivalency
3 participants