Avoid blank cells in a table, use N.A. #87
Replies: 3 comments
-
@kellijohnson-NOAA Thanks for alerting us of this, I've always used "-" but see how that can cause a problem. I'll admit that N.A. looks weird to me. Is NA read the same as Na? Removing the periods looks cleaner, however if NA is read the same as Na, then I am content to have it be visually more busy to be non-visually more friendly. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
The most recent guidance that I was given is to use "empty cell" and shrink the font to something very small and change the color to be the same as the background color. This will be a bit complicated to code for us because of the desire to have either pdf or html output but would be really easy in power point presentations or if using just html. In the meantime, I am still going with "N.A." as the best option until we can implement hidden text. FYI ... screen readers do not tell the user anything about font size or color so something that is not available to the sighted reader is just fine for the screen reader. Though, I also believe that @puntae has a preference of not leaving cells blank as well but I cannot remember. Maybe he just wanted what a blank cell meant defined in the caption. |
Beta Was this translation helpful? Give feedback.
-
When creating tables, use a placeholder for blank cells rather than leaving them empty. When some screen readers or sighted readers encounter empty cells within tables they may wonder if data was omitted by mistake. In addition, screen reader software may skip reading empty data cells, causing mismatches between header rows and their corresponding data cells.
❌bad example
a more detailed example
Below is a table of alternative ways to fill a blank cell in a table and what will be read by two screen readers given the table entry. The table was found on section5oh8.com.
🏆 best practice
This appears to be determined but I would advocate for "N.A." because at least it is read commonly across screen readers, it clearly indicates that no value was placed in a cell, and it does not take up very much room, where "not applicable" could increase the width of your columns beyond that available.
Beta Was this translation helpful? Give feedback.
All reactions