Gitter Channel Archive 22nd of August 2017
What fresh hell is THIS now? - Patrick Lauke
required attribute is a mess and I wouldn’t recommend using it. I’d stick with aria-required. Peter-Paul Koch has a three-part series on the mess that is form validation, including why to not use required. It starts here: https://medium.com/samsung-internet-dev/native-form-validation-part-1-bf8e35099f1d
[davidakennedy] Hi all! Struggling with something…
My markup on a typical archive page in WordPress:
<a href="/post-title/" class="post-thumbnail" aria-hidden="true"> <img src="/post-image.jpg" alt="Post Title"> </a> <a href="/post-title/"><h1 class="post-title">Post Title</h1></a>
I recently learned that aria-hiddenon focusable elements means they’re still focusable. So a user could still tab to the link, but not hear anything via assistive technology. Which is probably worse than announcing the double links. Any way to handle this, or should I just settle for the double links? Thanks!
tabindex="-1", so it isn't a "ghost link" with aria-hidden stripping the information away when you focus it.
tabindex="-1". Both seem reasonable here. :) Thanks @marcysutton!