Changes

Jump to: navigation, search

Accessibility

56 bytes added, 20:42, 21 August 2020
Table Syntax and adding HTML
===Table Syntax and adding HTML===
If you are entering HTML into your system and adding a table for display purposes, consider indicating it with '''role=presentation'''. Tables headers should use '''TH''' and table data should use '''TD'''. You may also wish to consider adding '''scope ''' (col, colgroup, row, rowgroup) to headers. Ensuring you are using proper semantic structures will ensure your content is machine readable by assistive technologies.  Secondly make sure you open and close your tags properly. If you open a '''TR''', '''TH''', '''TD ''' or '''DIV ''' make sure you have a closing '''TR''', '''TH''', '''TD ''' or '''DIV'''. Just because it looks right in your browser does not mean it will be machine readable by assistive technology.
[[File:A11y-scope.png|thumb|none|400px|Use proper semantic structures if you add HTML to your system.]]
Smartstaff, administrator
3,301
edits

Navigation menu