3 ms·
Would there be a benefit to changing from <table> to something else, if <table> works just fine for the purpose? If it ain't broke, right?
by Pyxl101 10y ago
Would there be a benefit to changing from <table> to something else, if <table> works just fine for the purpose?
If it ain't broke, right?
- robin_reala 10y agoIt is broken. Every single comment is announced (in Voiceover at least) with “Row x of y. Column 1 of 1”. With proper markup you could either avoid that entirely, or announce a correct relationship with ARIA attributes.
- PeterisP 10y agoIsn't this more of a sign that Voiceover is broken, as even a "true" single column table should not be read that way?
- robin_reala 10y agoPotentially, although it’s not VoiceOver but what the browser exposes as an accessible table. Chrome and Firefox have horrible hand-coded algorithms to determine what should be a data table or not: https://dxr.mozilla.org/mozilla-central/source/accessible/html/HTMLTableAccessible.cpp#920 https://dxr.mozilla.org/mozilla-central/source/accessible/ht... https://cs.chromium.org/chromium/src/third_party/WebKit/Source/modules/accessibility/AXTable.cpp?l=94 https://cs.chromium.org/chromium/src/third_party/WebKit/Sour...