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

Question re paragraphs

Posted 5 hours 30 min ago by (ian) in How-To and Troubleshooting

Implementing autosave in Ckeditor 5

Posted 2 days 4 hours ago by (lloyddunn) in Requests and Feedback

Where can I find webform submitted emails?

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

Recent comments

Steve - long story short - this is a legacy site that was ported from Drupal 7 and had some tinkering done to it so that Brilliant Gallery code was interpreted. This avoided rewriting a few...

Posted 2 hours 6 min ago by (ian) on:

Question re paragraphs

Hi yorkshirepudding - once again you leap to my rescue! I thought I had it sussed after reading your reply but I found that creating a new field called Description, hiding the label and...

Posted 2 hours 15 min ago by (ian) on:

Question re paragraphs

Hi Ian..., Can you explain why you are using Paragraphs for this? Is it because you have a specific requirement that is only filled by Paragraphs?  There are other ways to create an...

Posted 3 hours 54 min ago by (DrAlbany) on:

Question re paragraphs

Powered by Backdrop CMS

Stay connected

Sign up for our newsletter

Footer Menu

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