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

Spec for level attribute #16

Closed
matatk opened this issue May 21, 2014 · 0 comments · Fixed by #17
Closed

Spec for level attribute #16

matatk opened this issue May 21, 2014 · 0 comments · Fixed by #17
Assignees

Comments

@matatk
Copy link
Contributor

matatk commented May 21, 2014

Here is how the level will be worked out. We encourage people to use the first "it works out the level automagically" approach.

  • When level is not present, the nesting level is calculated from the document structure (as originally), and aria-level and level are set to that level.
    • If level is present, but is not a non-zero positive integer, a console message is logged and the unusable value is ignored (so the document structure is used, as above).
  • When level is present and is a non-zero positive integer, it is preserved and aria-level is given the same value. The document structure is not used.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant