CSS - Accessibility

Jun 16, 2026 3:00pm UTC (Check your timezone)

Theory Workshop Lab Review Quiz

Instructors: Jess, Carmen, and Eda

Accessibility

Download iCal File

Before this session, please:

During this session, we’ll:

After this session, please:

Instructor notes

Best Practices for Accessibility and CSS: What Are Some Tools to Check for Good Color Contrast on Sites?

There are two helpful tools that allow us to check good color contrasts are:

Best Practices for Accessibility and CSS: What Are Best Practices for Hiding Content So It Doesn’t Become Inaccessible?

When we’re hiding content on a webpage, we should make sure that we don’t compromise accessibility. There are some best practices that we can follow:

 1.sr-only {
 2  position: absolute;
 3  width: 1px;
 4  height: 1px;
 5  padding: 0;
 6  margin: -1px;
 7  overflow: hidden;
 8  clip: rect(0, 0, 0, 0);
 9  white-space: nowrap;
10  border: 0;
11}
1<p class="sr-only">Hidden text</p>
2<p>Visible text</p>
1<p hidden>This content is hidden</p>
2<p>This content is visible</p>

Build a Quiz Webpage

We’ll take a look at this exercise that goes through some accessibility concepts!

Build a Tribute Page

This exercise goes over some HTML and CSS concepts that we’ve learned so far.

CSS Accessibility Review

In this unit, we’ve explored: