Why are table based sites bad for screen reader users?

后端 未结 4 437
伪装坚强ぢ
伪装坚强ぢ 2021-01-14 18:35

How much easier is it for screen readers to handle

based websites as opposed to older based websites, and why are they wo
相关标签:
4条回答
  • 2021-01-14 19:00

    It depends on what a table is used for. If a table is used for layout the screen reader has no way of knowing this and reads cell by cell, starting in row one, column one, row one column two, row two column one row two column two, etc which often isn't the way the content is meant to be viewed. If data needs to be displayed in a structured form tables are the best way to go with screen readers since keystrokes can be used to read row by row and column by column. As a screen reader user I find it anoying when data doesn't appear to make any sence because it is either layed out poorly with a table, or a table isn't used at all and some other visual indication is used.

    0 讨论(0)
  • 2021-01-14 19:10

    Screen readers assume the content inside a table is tabular, and reads it as such. E.g. "row 1, column 1: (contents)". If you use tables to lay out your site, this won't necessarily make any sense. You are telling the end-client you have data with tabular significance, when you actually don't.

    By contrast, div have no meaning other than "section", so screen readers make no attempt to signify them. You can use divs to make arbitrary visual breaks in your layout without impacting the meaning of the markup.

    This is what we mean when we say "semantic" markup. Semantic means the markup accurately describes the meaning of the content inside of it - tables wrap tabular data, ULs wrap unordered lists, etc.

    0 讨论(0)
  • 2021-01-14 19:15

    Table based sites may confuse the screen reader for the type of data that is being presented. Originally tables were used to show a 2D list of data. But with tables being used to fit designs, the readers would have to distinguish the intention of the table.

    0 讨论(0)
  • 2021-01-14 19:17

    The viewpoint that DIVs work better with screen readers than tables is missing the real issue.

    Current CSS and HTML standards simply don't provide any explicit tags/indicators to aid screen-readers. Until they do, regardless of whether you use DIV or tables, you have to just hope that your "semantically correct CSS page", or "get the job done tables" work with most screen-readers.

    Don't forget, it is equally easy to create an incomprehensible page using DIVs only, as it is using tables.

    0 讨论(0)
提交回复
热议问题