News for hackers. Stuff that matters.
Re:Falsehoods programmers believe about undefined behavior by seanwilson on Monday November 28, 2022 @11:29AM (#33775646)
I just tested "<ol></ol>" in VoiceOver on Mac and nothing gets read. Different screen readers are notoriously inconsistent though.

> I wish there were a best practices doc + a matching linter for accessibility things like this.

For what it's worth, this sounds like it would have been a fun tweak for screen readers but it's accessible without.

The best way to get more of a feel for this is to try a popular screen reader for your OS, do the tutorial, and try it on the page yourself. It's not practical to automate a lot of accessibility checks like this one because it depends on context and there's subjectivity to it, similar to visual design and text readability.

Re:Falsehoods programmers believe about undefined behavior by radicalism on Tuesday November 29, 2022 @05:25AM (#33785798)
> Different screen readers are notoriously inconsistent though.

In other words, UB!

Re:Falsehoods programmers believe about undefined behavior by grogers on Tuesday November 29, 2022 @07:10AM (#33786541)
Implementation defined