uabrc / uabrc/uabrc.github.io

Epic: ADA Rule and WCAG 2.1 AA conformance

Open
#1,139 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

fix: accessibility ♿
Dominant language
Python
Stars
24
Forks
15
Avg merge
10d 3h
Merged PRs (30d)
1

Description

Tools
Conformance Notes and Issues
  • Tables
    • Accessible Name (invisible <caption>) 1.3.1
    • Accessible Description (<aria-describedby>)
    • Header elements need a scope attribute H63
      • Columns: <th scope="col">Column Name</th>
      • Rows: <th scope="row">Row Name</th>
  • 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.indexes with no other subitems receive an aria-labelledby attribute 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 no href and 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 no href attribute and no text.
  • Search form should have aria-label attribute.
  • All SVG should have aria-label attribute, 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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.