Introduction

OK! It’s time to start learning how to use a screen reader.

We’ll warn you that it can be very frustrating for some people. Take it slow. We’ll introduce a few features at a time.

You're on a small screen! Some modules like CodePen examples will behave differently here. You'll need to toggle through their tabs to see all the code. For the best experience, consider using a bigger screen.

They keys we'll be using

And we’re specifically using a Mac and VoiceOver and Safari.

NOTE: this might clash with your Divvy settings if they happen to use the same key combinations / but we’ve updated that page with divvy shortcuts that will not clash.

VoiceOver 101

Link to that page.

Also, a short podcast about small businesses and lawsuits related to accessibility: The Journal: Who is Filing Thousands of Disability Lawsuits Against Businesses?

If you haven't gotten into the code yet ...

We share this with our students AFTER they’ve been building websites for a few weeks so they can test with their own real sites. But you might have found this resource some other way. That’s OK! Just try out the VoiceOver! There’s plenty of time to learn about HTML and CSS later.

Styling things when they are in focus - or they contain things that are in focus

  1. HTML element

    element:focus {
    
    }
  2. HTML element

    :focus-within

    element:focus-within {
    
    }

Live focus examples

See the Pen HTML cheatsheet 1 / display types by perpetual.education (@perpetual-education) on CodePen.

Click on the CodePen viewport output and navigate the page with tab and shift+tab to see the focus styles.

Note that each browser implements these default styles differently, just like they handle visual form interfaces.

Screenshot showing the browser dev tools element inspector open

You can check out the dev tools (if you know how to do that) and see a live representation of what the browser is rendering (and see if they’re using the correct HTML elements).

Screenshot showing the browser dev tools accessibility tree view - which instead of HTML element, shows something more like the screenreader landmarks list

Browsers now have a way to view the accessibility tree – which is a lot more like a list of landmarks – and a good way to see how they’ve planned. (we could do better than this, right?)

Screenshot showing the browser dev tools element inspector open

Note: You might have to figure out how to turn it on if you don’t see it.

Let's be friends