Locked learning resources

Join us and get access to thousands of tutorials and a community of expert JavaScript developers.

Unlock This Lesson

Locked learning resources

This lesson is for members only. Join us and get access to thousands of tutorials and a community of expert JavaScript developers.

Unlock This Lesson

Accessible Components Without a Framework (Summary)

You’ve finished Accessible Components Without a Framework. You can now build accessible disclosures, dialogs, popovers, form errors and navigation menus with native HTML and CSS, and assemble them into a themeable component kit from a brief, without a walkthrough.

Along the way, you built Kwame’s kit for the Ashgrove Tool Library, piece by piece:

  • Form errors: On the Donate a Tool form, a summary at the top links to each field’s error.
  • Disclosures: The borrowing FAQ became disclosures, and Late Returns opens one answer at a time.
  • A modal dialog: The Cancel step ladder button opens a modal dialog.
  • A popover: The help tip is an auto popover.
  • An anchored menu: Each tool card’s Options menu sits under its own button.
  • Navigation: On a small screen, the navigation folds behind a Menu disclosure.
  • The kit: You rebuilt them as one kit, with tokens, a components layer and a dark theme.

Things to Remember

  • Use native HTML, such as the <details> and <dialog> elements and the popover attribute, before you add ARIA.
  • Pick a modal dialog when the page must wait, and a popover when people can carry on.
  • Put errors in text and connect them to their fields, never in color alone.
  • Give every Baseline Newly available feature a fallback.
  • Check each component the way people use it: keyboard, screen reader, the automated tools, then the settings people choose.

Locked learning resources

Join us and get access to thousands of tutorials and a community of expert JavaScript developers.

Unlock This Lesson

Already a member? Sign-In

Locked learning resources

The full lesson is for members only. Join us and get access to thousands of tutorials and a community of expert JavaScript developers.

Unlock This Lesson

Already a member? Sign-In

00:00 You’ve finished Accessible Components Without a Framework. You can now build accessible disclosures, dialogs, popovers, form errors and navigation menus with native HTML and CSS, and assemble them into a themeable kit from a brief.

00:18 Along the way, you built Kwame’s kit for the Ashgrove Tool Library, piece by piece. On the Donate a Tool form, a summary at the top links to each field’s error.

00:29 The borrowing FAQ became disclosures, and Late Returns opens one answer at a time. The Cancel step ladder button opens a modal dialog.

00:40 The help tip is an auto popover. Each tool card’s Options menu sits under its own button. On a small screen, the navigation folds behind a Menu disclosure.

00:54 Then you rebuilt them as one kit, with tokens, a components layer and a dark theme.

01:02 Use native HTML before you add ARIA. Pick a modal dialog when the page must wait, and a popover when people can carry on. Put each error in text, connected to its field, never color alone.

01:16 Give every Baseline Newly available feature a fallback. Check components the way people use them: keyboard, screen reader, tools, then their chosen settings.

01:28 Compare your kit with each lesson’s finished pages in the code download. Keep growing your own site’s kit, one component and one contract at a time. This course ends the Modern CSS and Accessible Interfaces path.

01:44 Arrow-key menus, and status messages a screen reader announces when your page changes them, need JavaScript. The course Forms and Controls for Everyone picks up there.

01:55 Thanks for building along with Kwame.

Become a Member to join the conversation.