Thursday 7 February 2019

Making tRPG class tables more friendly for screen readers

This is a test of some table-related HTML I've been learning. The goal is to be compatible with screen readers. If you use a screen reader, and the following is not intelligible or could be improved, please let me know.

The HTML for ll 7 core B/X D&D classes, CSS, and colour-toggling JS function can all be found on this gitlab file. Please feel free to adapt them for your own projects.

Elf Level Progression
Level XP Hit Dice AC0* Saving Throws Spells
Death Wands Paralysis Breath Spells 1st 2nd 3rd 4th 5th
1st 0 1d6 19 12 13 13 15 15 1
2nd 4,000 2d6 19 12 13 13 15 15 2
3rd 8,000 3d6 19 12 13 13 15 15 2 1
4th 16,000 4d6 17 10 11 11 13 12 2 2
5th 32,000 5d6 17 10 11 11 13 12 2 2 1
6th 64,000 6d6 17 10 11 11 13 12 2 2 2
7th 120,000 7d6 14 8 9 9 10 10 3 2 2 1
8th 250,000 8d6 14 8 9 9 10 10 3 3 2 2
9th 400,000 9d6 14 8 9 9 10 10 3 3 3 2 1
10th 600,000 9d6+2 12 6 7 8 8 8 3 3 3 3 2
*AC0: Modified attack roll needed to hit Armour Class 0.
Hit point modifiers from CON no longer apply.

No comments:

Post a Comment

hi! all comments are moderated (mostly for spam) before they're published.