Epic: ADA Rule and WCAG 2.1 AA conformance
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 24
- Forks
- 15
- Avg merge
- 10d 3h
- Merged PRs (30d)
- 1
Description
Tools
- Static HTML analyzer for a subset of conformance issues. Use my fork for now because it resolves various issues. https://github.com/wwarriner/be-a11y
Conformance Notes and Issues
- Tables
- Links should have meaningful descriptions in their programmatic context (text description same
element counts) 2.4.4
- Links with
target="_blank"must announce they open in a new tab via, e.g.,aria-label. - Nav items making use of
navigation.indexeswith no other subitems receive anaria-labelledbyattribute that references a non-existent label. (https://github.com/squidfunk/mkdocs-material/blob/0d11a2d01174a0ab3bec97300c4432da44128253/material/templates/partials/nav-item.html#L125) - Bug in either pygments or pymdownx causing
<a>tags with nohrefand no text. This appears to occur on a per-page basis when line numbers are used in at least one code block, but not in others. In those other code blocks, there are invisible, zero-size<a>tags with nohrefattribute and no text. - Search form should have
aria-labelattribute. - All SVG should have
aria-labelattribute, this may take some post-hoc editing, or a plugin. There are a LOT of material icons.
Invisible Elements
Elements that need to be invisible for aesthetics for sighted users can be made "invisible" using, e.g., https://stackoverflow.com/a/19758620 and https://webaim.org/techniques/css/invisiblecontent/
.sr-only {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0,0,0,0);
border: 0;
}
Captions in MkDocs
Captions using pwmdownx.blocks.caption.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by running the listed static HTML analyzer against the generated documentation and review the conformance checklist, including tables, links, navigation, search, SVGs, captions, and code blocks. Inspect the referenced nav-item.html entry point and the generated HTML to identify affected templates or content. Done means the listed WCAG 2.1 AA issues are resolved and the analyzer and accessibility checks pass.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- css, html, markdown, python
- Domain
- accessibility, documentation, web-dev
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100