-
Notifications
You must be signed in to change notification settings - Fork 27
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
feat: add IA2 and ATK mappings for text edit maxlength #522
Conversation
Is there going to be a corresponding ARIA property now or in the future? If so, will it be In general, when ARIA properties are exposed as object attributes, the rule tends to be Thanks for checking! |
@joanmarie I believe the planned aria attr would be
|
I think so, yes -- unless @aleventhal has a compelling reason why it should be exposed to screen readers as I also think this will make it possible for you to get at least one ARIA implementation "for free" (i.e. Gecko). I just loaded the following in Firefox:
Then I used the Accerciser accessibility inspector in Linux to query the properties of the AtspiObject that corresponds to the div:
Gecko doesn't sanity-check or rename ARIA attributes to object attributes for ATK or IA2 -- other than stripping off the "aria" prefix -- unless there's a strong reason to do so. 🎉 😁
Understood. And I don't want to hold up spec work. Perhaps check with @jcsteh at Mozilla regarding his preference and thoughts about |
I'd prefer the object attribute to be named according to the ARIA attribute. For example, if it's aria-maxlength, I think the object attribute should be maxlength. Beyond that, I don't have a strong preference what the ARIA attribute is called. |
@joanmarie / @jcsteh updated to |
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.
LGTM. Thanks! I'll add this to my Orca TODO list.
I assume that when we get aria-maxlength, this mapping will be updated so that it simply refers to the ARIA mapping and core-aam will absorb the platform specific guidance here? |
@jcsteh yes, that would be the end goal. if an aria attribute is created, then the mappings go into core aam, and html aam is updated to point to that. |
Supersedes [HTML AAM PR 522](w3c/html-aam#522) Co-authored by: @smhigley
closing as this PR has been superseded by w3c/aria#2273 |
Part of the initial work for w3c/aria#1119
Splitting out each API into a separate PR for ease of review and discussion. I've combined IA2 and ATK here since they generally seem to have the same approach re: Object Attributes, and existing object attributes look like they have the same keys across both APIs
Preview | Diff