diff options
| author | Mr. Paul <mrpaul@aestheticwisdom.com> | 2021-08-11 16:01:03 +0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2021-09-10 14:23:32 -0400 |
| commit | 0c091feb5ae52caf1ebf885c0de55b3159207001 (patch) | |
| tree | 6619f5d03bbccd5a500035947cf50f2118b4dc46 /src/codegen.zig | |
| parent | 9e24727062624ec51eadb833d3c434b15889a9c3 (diff) | |
| download | zig-0c091feb5ae52caf1ebf885c0de55b3159207001.tar.gz zig-0c091feb5ae52caf1ebf885c0de55b3159207001.zip | |
Improve HTML semantics and a11y of language reference
The language reference's HTML has been updated to be more semantically correct.
This also helps to improve the document's accessibility concerns.
* Document structure has single h1, other header sections start at h2, nav sections w/ aria labels, main section
* Zig's homepage is linked, Zig Standard Library section link to it
* Tables have caption and scoping rows and columns
* Code blocks are figures with figure captions citing source files
* Change line height 1.5 to include table of contents as well
* Luminosity contrast ratios have been adjusted to 7:1
* Dark mode colors adjusted to reduce eye strain
* Links have default browser underline with hover and focus effects
* Asides, definition lists, keyboard inputs, program outputs are represented semantically
Tools used to check:
WAVE plugin https://wave.webaim.org/
Firefox Accessibility Developer Tool
Lighthouse Accessibility Tool
Diffstat (limited to 'src/codegen.zig')
0 files changed, 0 insertions, 0 deletions
