-
Notifications
You must be signed in to change notification settings - Fork 48
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
<input> mapping constraints for role=combobox #476
Comments
re: w3c/html-aria#476 mention in the comments for the input type=text element that if an input has a missing value then it defaults to the text state - as defined by HTML.
this seems to be more an issue about differences in wording for a spec geared towards implementers (aam) vs conformance checkers/authors (aria in html)? I did however make a quick update to HTML AAM in the input type=text comments to refer to what HTML already specifies for the missing/invalid type attribute. can you be more specific about what other updates you were anticipating per the other bullets? As i'm reading them, I'm not sure there's anything that needs to be done per the different audiences per each spec. |
The main bullet was confused on was r.e. the use of In aam I'm reading it to mean that the role of combobox is only applied to the input element if:
The latter two points aren't mentioned at all in the aria in html spec. aam:
aria in html:
It could well be that I'm simply misreading the specs(!), as you suggest perhaps the difference in audience is muddling me... Is the requirement around the To add context to why I raised, the REF: |
add link to list attribute mapping to help mitigate confusion like: w3c/html-aria#476
unfortunately it does look like there is a misunderstanding on your part for what HTML AAM is saying. What's listed in HTML AAM are the mappings that implementors are expected to make, and are not requirements for authors. So per:
That's not saying authors need to add an aria-controls, it's saying the mapping for i've made another update to the spec to link to the |
Really appreciate the time taken to hand-hold me here @scottaohara! Thanks for the clarification. |
maybe we should setup some time to talk about the goal of aria-query and to make sure requirements of these specs are being properly implemented in that package, @jlp-craigmorten. re: looking through A11yance/aria-query#515, there are some mentions of constraints being removed / variations between aria in html, aria 1.2 and html aam - but those also seem to be a bit off (at least from how i'm reading them?) the specs aren't misaligned, so much as they're telling different parts of the same story for instance:
there isn't really anything "new" in html aam, nor would it be appropriate/expected for the other specs to make mention of the specific mapping that HTML AAM is calling out. the only overt constraint for authors concerning this element/aria attribute would be defined in ARIA in HTML (the attribute is not allowed on the element because it's ignored by HTML). ARIA alludes to this at a high level in 8.5 Conflicts with Host Language Semantics. |
@scottaohara @jlp-craigmorten perhaps we could file an issue on the ARIA spec to set up a dedicated deep dive call? |
I fear again this is largely my error on interpretation there 😓 hopefully for the most part, despite my misunderstanding, the majority of changes in the PR are still correct, opting to lean towards the aria in html spec over the aam one (which going by your comments sounds correct from an authoring perspective). The issues prompting the change were mostly because the aam spec had been used as the source of truth (and perhaps in some places misinterpreted) in an earlier PR. I'm not particularly associated with the Happy to assist if/with any grunt work needed to have the package correctly reflect the appropriate specs. |
re: w3c/html-aria#476 mention in the comments for the input type=text element that if an input has a missing value then it defaults to the text state - as defined by HTML.
add link to list attribute mapping to help mitigate confusion like: w3c/html-aria#476
Follows on from w3c/html-aam@bbf646a.
There have been prior changes in html-aam to update the mapping of the element (with type attribute in the Text, Search, Telephone, URL, or E-mail states with a suggestions source element) in the combobox scenario which deviate from the html-aria spec.
Filing this for consideration to make the equivalent changes to the html-aria spec for the role mapping definition of the element in the combobox scenario for consistency:
list
vsaria-controls
constraints: "with a list attribute" in html-aria vs "with the aria-controls property set to the same value as the list attribute" in html-aam.invalid type
also falls into this scenario: currently present in html-aria but missing in html-aamAlternatively, some changes for alignment may instead be better placed in html-aam, happy to raise suggested issues.
Pertinent areas:
The text was updated successfully, but these errors were encountered: