DEV Community


Discussion on: What have you learned this week?

samba_code profile image
Sam Atkinson

This week I've been reading up on a11y a lot. I've learnt that auto focus is (generally) bad as it can be very confusing to a screen reader user when your focus is yanked away. Also, over 97% of screen reader users have javascript enabled.

In non a11y news thanks to the post on here I now know you can style your console.log output. Mind blown

svedova profile image
Savas Vedova Author

That's very nice! React testing library is pretty cool to implement a11y. They force you to write accessible code.

jhulten profile image
Jeffrey Hulten

The part that bugs me is the use of a11y itself. It spells ally, which is cool, but screen readers cannot interpret it. So we created a shorthand for accessibility that isn't accessible.