Accessibility is kind-of not up to standard. We can do better.
LabelWithWidgets uses a label and places the custom widgets (emojis) on top. It uses a placeholder in the positions those widgets are. When a screen reader reads the label, it doesn't read the custom emojis' labels (names) in place of the placeholder. To fix that, we replace the label's aria label with the current text while replacing the placeholders with the widgets' tooltip text
Profile covers did not announce the relationship label
Profile covers and avatars are announced as buttons. That wasn't informative. They now have a tooltip text about the action they perform when clicked
Posts announced the date but it was bad, '1m' is not informative. They now announce and show a tooltip text of the full date and time
Icons do not announce their tooltip text. They now should, somewhat.
Ngettexted profile stats (singular vs plural forms)
Status Action Buttons wouldn't announce their enabled state. That's because they are normal buttons. They now act as toggle buttons aria-wise (they have an 'enabled' state)
Status Action Buttons should now announce their state in full: instead of '3 ... Boost', they should now announce '3 Boosts'
TODO:
I think the LWW aria hack broke the link announcements
Should LWW use the text or the whole label? (label includes the link markup, it will announce http ..., while text is just the visible parts)
Posts probably need a custom written aria label as some parts are just not visible to the screen reader. So instead maybe 'Unlisted Post by GeopJr [at]GeopJr[at]tech.lgbt. Boosted by [at]MR_JAWSUM[at]FARAWAY.TOWN. Edited on 2024-01-01 00:00:00. Pinned. It has 3 replies, 2 boosts, 1 favorite. It has 4 attachments. The content is..."
Really need to go through everything
Go over new account window
UPDATE:
Many decisions had to be taken to work around some issues without completely destroying the accessibility tree. I'm satisfied with the current progress, but accessibility is not a 'one and done' issue, it needs constant maintenance and improvement. Any comments are welcome!
A big and important one.
Accessibility is kind-of not up to standard. We can do better.
TODO:
I think the LWW aria hack broke the link announcementsShould LWW use the text or the whole label? (label includes the link markup, it will announceh
t
t
p
..., while text is just the visible parts)Posts probably need a custom written aria label as some parts are just not visible to the screen reader. So instead maybe 'Unlisted Post by GeopJr [at]GeopJr[at]tech.lgbt. Boosted by [at]MR_JAWSUM[at]FARAWAY.TOWN. Edited on 2024-01-01 00:00:00. Pinned. It has 3 replies, 2 boosts, 1 favorite. It has 4 attachments. The content is..."Really need to go through everythingGo over new account windowUPDATE:
Many decisions had to be taken to work around some issues without completely destroying the accessibility tree. I'm satisfied with the current progress, but accessibility is not a 'one and done' issue, it needs constant maintenance and improvement. Any comments are welcome!