Skip to main content
backdrop Forum
  • Forum
  • FAQ
  • Following
  • About
  • Wishlist
  • My account
    • Log In
    • Create an account
  • Try Backdrop CMS
    • Demo Backdrop CMS
    • Download version 1.35.2
    • More ways to try Backdrop
  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

specific webform permissions

Posted 14 hours 13 min ago by (aubergine) in How-To and Troubleshooting

Images Disappearing from inline-images

Posted 17 hours 33 min ago by Elle (Princess Nettles) in How-To and Troubleshooting

How to upload js and gz files

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

Recent comments

This is a security precaution. It's not recommended and it's not documented in the settings.php file, but you can set allow_insecure_uploads to be TRUE if you wish to allow uploading files like...

Posted 13 hours 49 min ago by laryn (laryn) on:

How to upload js and gz files

You could also just add an image field to the content type but not display it and instead reference them in your markdown.

Posted 13 hours 58 min ago by Martin Price (yorkshirepudding) on:

Images Disappearing from inline-images

You can create a small custom module using this hook: https://github.com/backdrop-contrib/webform/blob/136c20cb1c51cea203f3f0bc5355237c1d4dbf84/webform.api.php#L652-L678 /** * Determine...

Posted 14 hours 3 min ago by Martin Price (yorkshirepudding) on:

specific webform permissions

Powered by Backdrop CMS

Stay connected

Sign up for our newsletter

Footer Menu

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