Hacker News new | ask | show | jobs
by Pyxl101 3428 days 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?

1 comments

It 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.
Isn't this more of a sign that Voiceover is broken, as even a "true" single column table should not be read that way?
Potentially, 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/ht...

https://cs.chromium.org/chromium/src/third_party/WebKit/Sour...