That perceived conflict is just that — perceived. In reality, there’s no reason why the two can’t work together to make a more powerful product for users to engage with.
Photo by Nathan Dumlao
Here are a couple of examples:
- ARIA live regions provide the ability to alert the screen reader when content has been updated. With that in mind, imagine you’re visiting an online store that has a page with your shopping cart. Your cart currently has one item in it, but you decide you want two of those items, so you push the arrow button to change the item number. Sighted users see this with ease. By putting the cart section of the page in an ARIA live region, users using a screen reader would automatically be alerted of the change.
- Imagine the page you’re visiting has a piece of content that’s hidden initially, and that only appears once a button has been pushed. Again, this is something a sighted user won’t think twice about. Screen readers, on the other hand, need the ARIA-expanded attribute to alert them whether a piece of content is visible or not visible. Again, when that change is made, the user of the screen reader will be alerted.
Drupal 8 makes it easier than ever before for developers to factor in accessibility as they put together a website. The latest core installment has a number of accessibility-minded features, including:
- Alternative text for images
- HTML 5 elements for more semantics
- Inline errors on forms
- Tabbing order
- Hidden, invisible and on-focus elements
- Aural alerts
- ARIA markup
- jQuery UI
You can read about all of these updates in this post from Rich Lawson, our Chief Technology Officer here at Duo.
Now, I’ve heard a lot of developers say that it’s really hard to build a website properly and make it accessible. I’ve heard it costs more money. I’ve heard it takes more time.
All of these statements are true. And it’s an investment worth making.
Nearly 2.5% of adults have reported having a visual disability, and depending on what your target audience is, that number may go as high as nearly 6.5% (if you have an older audience).