Medication Tracker

Accessibility

This skill expands section 9 of AGENTS.md, which is non-negotiable. Read that section and the project-preferences skill first. This skill adds detail; it cannot lower the target or waive a requirement.

Target WCAG 2.1 AA or 2.2 AA. The structure, perception, and reading rules below apply to everything a person reads. The operation rules apply only to interfaces a person drives, so skip them for command-line tools, scripts, and data pipelines with no human interface.

Structure

Structure comes from real structural elements, never from visual styling. Bold text is not a heading in any format.

Perception

Never use color alone to carry state, meaning, or a data series. Add text, shape, pattern, or position as well. Keep contrast at 4.5:1 or better for normal text and 3:1 for large text, interface components, and graphical objects. Support 200% text resize, and reflow at 320 CSS pixels wide without losing content or forcing horizontal scrolling.

Operation

Assume the person uses a keyboard only, a switch, voice control, or has a tremor or limited fine motor control.

Reading and cognition

These help everyone, including dyslexic and ADHD readers.

Verification

Automated tools such as axe, Lighthouse, and pa11y catch roughly a third of issues, so always add manual checks: keyboard-only traversal, visible focus, 200% zoom, and a screen reader pass on the main flows.

Report what you tested and what still needs a human, and never claim a check you did not run. Put anything a person must still verify by hand under the Accessibility heading of the response format in AGENTS.md section 14.

Additional resources