News for hackers. Stuff that matters.
Re:Streaming HTML out of order without JavaScript by megaman821 on Friday March 01, 2024 @09:09AM (#39561908)
There is a new reading order attribute coming to fix this.
Re:Streaming HTML out of order without JavaScript by Lorin on Friday March 01, 2024 @05:42PM (#39567673)
Why wouldn't they just amend the existing feature so it's accessible?
Re:Streaming HTML out of order without JavaScript by _heimdall on Saturday March 02, 2024 @12:13AM (#39570029)
Backwards compatibility I'd assume. Someone could have taken advantage of the fact they flex order and accessibility order are different.

Changing the functionality now would break those sites, adding a new CSS prop would make the fix opt-in.

Re:Streaming HTML out of order without JavaScript by felixfbecker on Saturday March 02, 2024 @10:31AM (#39573169)
There already is one in ARIA that supports this: aria-owns [1] and to some degree aria-flowsto [2]

But with everything in ARIA, it always depends on real-world support of screen readers, which is very poor. You have to work with what actually works unfortunately.

Imo changing order just to change the streaming order for a tiny performance gain is not worth breaking the UX for people with accessibility needs.

[1] https://developer.mozilla.org/en-US/docs/Web/Accessibility/A... [2] https://developer.mozilla.org/en-US/docs/Web/Accessibility/A...