These notes are unpolished collections of thoughts, unfinished ideas, and things I want to remember later. In the spirit of learning in public, I'm sharing them here. Have fun exploring, if you want!
The Future of the Web is Accessible
For the last 8 years, we've been focused on building responsive websites: websites with layouts that respond to the size of the screen the user is viewing it on. We've practiced squeezing and stretching our browser viewports as we develop to make sure that our sites will look flawless on any screen. But soon, that won't be enough.
The future of the web will involve making our websites respond to any user interface, with or without a screen. Voice interfaces are becoming more common as Google, Amazon, and Apple race to get their voice assistants into as many of our phones, cars, computers, thermostats, light switches and other internet connected devices as possible. But while the current generation of voice assistants may be able to search the web for us, they still require us to click on a link and read a web page.
In the not-too-distant future, these voice assistants will be able to scan a web page, determining the different regions of the page and find what we are looking for for us. We will be able to fill out forms with a simple voice confirmation to use the address and contact info saved on our machine. We will be able to interact with all the elements on a page, just by speaking into a little microphone. We'll be able to do everything we currently do on websites, but without needing to look at a website.
How will all this come to pass? In order for voice assistants to offer a voice-interface version of a web page that is easy to understand and interact with, they will need to know what is actually on a page. They'll need to be able to discern the difference between the main information on the page and the extra stuff.
These voice assistants will use the accessibility tree. The Accessibility Tree is a simplified version of the DOM that provides all the information assistive technology, like a screen reader, needs to interact with a page. It is a version of the page that computers can understand and interpret.
Since Alexa, Siri and Google will need to be able to understand everything on a web page in order to determine what info is relevant or what interaction points exist and provide those options to users.
In fact, Mozilla is reportedly already working on a voice-controlled web browser called Scout. I suspect we'll see the popular voice-controlled assistants provide similar features in the next few years.
When voice assistants develop the ability to fully interact with a web page, accessible sites won't have to do anything extra. For everyone else not meeting the WCAG Guidelines, there will be a race to implement the web accessibility best practices that have been in place for decades.
Web accessibility is the foundation for a less screen-centered web.