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

aria-atomic doesn't say what its missing/invalid value defaults are #976

Closed
zcorpan opened this issue May 3, 2019 · 5 comments
Closed
Assignees
Labels
editorial a change to an example, note, spelling, grammar, or is related to publishing or the repo
Milestone

Comments

@zcorpan
Copy link
Member

zcorpan commented May 3, 2019

https://w3c.github.io/aria/#aria-atomic

The algorithm seems to leave undefined what happens when the attribute is present but the value is not one of the keywords "true" or "false".

https://w3c.github.io/aria/#typemapping says true/false ARIA attributes map to HTML enumerated attributes. These can have a defined "missing value default" and "invalid value default". If they are not defined, invalid values end up in no state.

Since ARIA doesn't define its processing in terms of states of an attribute, it's unclear what is intended. Is aria-atomic=foobar equivalent to no attribute? Or equivalent to aria-atomic=false? Something else?

@joanmarie joanmarie added this to the ARIA 1.2 milestone May 16, 2019
@zcorpan
Copy link
Member Author

zcorpan commented Jun 27, 2019

cc @spectranaut

@jnurthen
Copy link
Member

jnurthen commented Sep 27, 2019

Deleting as need to rethink :)

@jnurthen
Copy link
Member

@joanmarie can you take a look at this....
I thought it should resolve to false for aria-atomic="foobar" but according to the "handling author errors" section it would actually resolve to true.... Is this correct?
My understanding is that:

  • aria-atomic would be exposed as a platform Accessibility API boolean state
  • It doesn't have the value "", undefined or no attribute present
  • so it would be exposed as true

@jnurthen
Copy link
Member

related to #777

@jnurthen jnurthen modified the milestones: ARIA 1.2, ARIA 1.3 Nov 19, 2019
@jnurthen jnurthen added the editorial a change to an example, note, spelling, grammar, or is related to publishing or the repo label Jan 14, 2021
@jnurthen
Copy link
Member

jnurthen commented Mar 4, 2021

closing as duplicate of #777

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
editorial a change to an example, note, spelling, grammar, or is related to publishing or the repo
Projects
None yet
Development

No branches or pull requests

3 participants