Accessibility¶
MkDocs Material provides accessibility-friendly defaults. This page summarizes the configuration and best practices used in this POC.
Configuration¶
Theme Features¶
The following Material theme features improve accessibility:
- Keyboard navigation — All interactive elements are keyboard-accessible
- Skip links — "Skip to content" for screen reader users
- Semantic structure — Proper heading hierarchy and landmark roles
- Color contrast — Material palette meets WCAG contrast guidelines
Color Scheme¶
The POC uses the slate (dark) and default (light) schemes. Both provide sufficient contrast. The theme toggle allows users to choose their preference.
Best Practices¶
- Heading hierarchy — Use H1 → H2 → H3 in order; don’t skip levels.
- Link text — Prefer descriptive link text (e.g., "Getting Started guide" instead of "click here").
- Images — Provide
alttext for meaningful images. - Tables — Use header cells (
| Header |) for table headers. - Code blocks — Use language tags for syntax highlighting and better context.
Linkable Headers¶
All headers in the documentation generate anchor links. Hover over a heading to see the link icon and copy the URL. For example:
- Configuration — Links to the Configuration section above
- Best Practices — Links to the Best Practices section
Responsive Design¶
The Material theme is responsive and adapts to different screen sizes:
- Desktop — Full navigation, search, and sidebar
- Tablet — Collapsible navigation
- Mobile — Optimized layout and touch targets