Log in

goodpods headphones icon

To access all our features

Open the Goodpods app
Close icon
viewSource - Building an accessible accordion

Building an accessible accordion

04/03/23 • 29 min

viewSource

Aurooba and Brian dig into the semantics of not only what makes an accordion accessible, but also why a11y should be a first class consideration when you build anything on the web. They also explore how different ARIA tags work and what they indicate, taking a previously inaccessible accordion and transforming it into something navigable visually, with a keyboard, and with other assistive devices. Along the way, they also think out loud about the definition of an accordion and what that really means.

A full transcript of the episode is available on the website. Watch the video podcast on YouTube and subscribe to our channel and newsletter to hear about episodes (and more) first!

plus icon
bookmark

Aurooba and Brian dig into the semantics of not only what makes an accordion accessible, but also why a11y should be a first class consideration when you build anything on the web. They also explore how different ARIA tags work and what they indicate, taking a previously inaccessible accordion and transforming it into something navigable visually, with a keyboard, and with other assistive devices. Along the way, they also think out loud about the definition of an accordion and what that really means.

A full transcript of the episode is available on the website. Watch the video podcast on YouTube and subscribe to our channel and newsletter to hear about episodes (and more) first!

Previous Episode

undefined - What is a React Component?

What is a React Component?

Building on our simple React app, Aurooba demonstrates a component and sets up state to track variables. While discussing return statements, Brian cringes about JSX and mixing HTML with JavaScript. They also discuss how a function can return more than one variable in modern JavaScript.

A full transcript of the episode is available on the website. Watch the video podcast on YouTube and subscribe to our channel and newsletter to hear about episodes (and more) first!

Next Episode

undefined - Reusable Components in React

Reusable Components in React

Aurooba and Brian convert their simple React accordion into separate, reusable components and discuss the importance of components as foundational parts of the web. Next, they show how to use React devtools in Chrome to quickly examine and debug your components. Finally, they dig into the code with a focus on passing and destructuring the data you pass via props.

A full transcript of the episode is available on the website. Watch the video podcast on YouTube and subscribe to our channel and newsletter to hear about episodes (and more) first!

  • Code from this episode
  • React Developer Tools
  • Brian's website – https://www.briancoords.com
  • Aurooba's website – https://aurooba.com
  • (00:00) - Introduction
  • (01:19) - Components as foundational parts of the web
  • (03:33) - Recap of our series so far
  • (04:15) - Using React devtools in Chrome
  • (08:31) - Our AccordionItem Component
  • (13:32) - Passing props and destructuring
  • (19:20) - How many components is too many?
  • (23:46) - Balancing and planning different approaches in React
  • (26:48) - What comes next? A preview on state and interactivity

Episode Comments

Generate a badge

Get a badge for your website that links back to this episode

Select type & size
Open dropdown icon
share badge image

<a href="https://goodpods.com/podcasts/viewsource-254249/building-an-accessible-accordion-29577232"> <img src="https://storage.googleapis.com/goodpods-images-bucket/badges/generic-badge-1.svg" alt="listen to building an accessible accordion on goodpods" style="width: 225px" /> </a>

Copy