News for hackers. Stuff that matters.
Re:Apple’s app review prevents developer from submitting fix... by floatingatoll on Sunday September 26, 2021 @07:32PM (#28665598)
Is there any HTML that can be wrapped around the spacer-indents that would mark them as indented for screenreaders? If I knew more about this I’d propose that as a unified diff, so that they could apply it to their templates and solve this, but I don’t :(

(I know there’s ways to restructure it completely to do this, but I like focused and surgical changes that don’t affect anyone who doesn’t notice them. Opinions vary on that.)

Re:Apple’s app review prevents developer from submitting fix... by bigblind on Sunday September 26, 2021 @09:11PM (#28666111)
For screen readers, there's the "tree" aria role[0] which lets you mark a specific element as a tree, and mark the elements within it as items at a certain level.

[0] https://www.w3.org/WAI/GL/wiki/Using_ARIA_trees

Re:Apple’s app review prevents developer from submitting fix... by kevin_thibedeau on Monday September 27, 2021 @01:50AM (#28667480)
Nested DIVs also describe a tree but apparently that's too difficult to do with lambda calculus.
Re:Apple’s app review prevents developer from submitting fix... by TriNetra on Monday September 27, 2021 @04:00AM (#28668209)
Tree wont' be a good fit for comments because one would want to read content by line/word/etc. while a tree item is presented as a whole thing by the screen reader so it's only good for small textual items.
Re:Apple’s app review prevents developer from submitting fix... by ogomez92 on Monday September 27, 2021 @02:25AM (#28667660)
There is also the aria-expanded role which could be added to a button if this [] were only changed to a button...
Re:Apple’s app review prevents developer from submitting fix... by alisonkisk on Monday September 27, 2021 @12:35AM (#28667118)
The UL/OL tags for lists solved this problem 30 years ago.