Skip to main content
backdrop Backdrop Forum
  • Welcome!
    • Login
    • Register
  • Forum
  • FAQ
  • Following
  • About
  • Wishlist
  1. Home »
  2. [A11Y] Make collapsible fieldset accessible

[A11Y] Make collapsible fieldset accessible

Description of the need

Fieldsets that are collapsible should follow the accessibility requirements: https://www.w3.org/WAI/ARIA/apg/patterns/accordion/. We've got <details> in core but the Form API still offers collapsible fieldsets.

Proposed solution

If the fieldset is set to collapsible it should have aria-expanded toggled.

GitHub Link: 
https://github.com/backdrop/backdrop-issues/issues/6408
GitHub Issue #: 
6408

Weekly office hours

Bring your questions to our weekly virtual office hours, every Wednesday. Everyone is welcome.

Recent topics

Looking for examples of (local) news websites running on BackdropCMS

Posted 4 days 4 hours ago by Erik Wesselius (zilvervos) in Other

CKEditor5: Here's how to prevent "Select Image from Library" from appearing

Posted 6 days 1 hour ago by (Chrys) in How-To and Troubleshooting

Link field in a Content Type is malformed for annonymous user- Permission issue?

Posted 1 week 1 day ago by (Chrys) in How-To and Troubleshooting

Recent comments

Funnily we launched a new Dutch website this very week, milieucafe.nl  It is not a 'news' website but operates in the context of local government. The layout focuses on content instead of...

Posted 2 days 12 hours ago by (Ben Varkenshand) on:

Looking for examples of (local) news websites running on BackdropCMS

The answer is off topic, but I'll add a little. 1. Backend. Why you don't need links to other websites: Since you know the structure of your site and content, you can decide for...

Posted 3 days 7 hours ago by (Enthusiast) on:

Looking for examples of (local) news websites running on BackdropCMS

Hi Chrys, AI isn't always your best friend. A form alter hook is correct, but hiding by CSS isn't ideal. You could look at how the TinyMCE integration does it, which provides hiding...

Posted 3 days 13 hours ago by (indigoxela) on:

CKEditor5: Here's how to prevent "Select Image from Library" from appearing

Powered by Backdrop CMS

Stay connected

Sign up for our newsletter

Footer Menu

  • documentation
  • localization
  • events
  • forum
  • backdropcms.org