Accessibility: Allow changing of question tag

Created on 7 July 2023, over 1 year ago

Problem/Motivation

The module, which is generally great, makes every question an H3. This can cause accessibility issues when in situations where the page does not have an H1, or where the FAQ is being placed inside an H3, H4, H5 or H6. In most of our uses of FAQ fields, they are the only thing on the page and so fall directly below an H1, but there are occasional times when it is in a different hierarchy location.

Proposed resolution

Allow choosing the tag to use for the question. Ideally this would be a setting on a per field instance basis, second best at a per node/per paragraph basis, third best (and bare minimum) on a sitewide basis.

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Active

Version

7.1

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States kwfinken Lansing, MI

Live updates comments and jobs are added and updated live.
  • Accessibility

    It affects the ability of people with disabilities or special needs (such as blindness or color-blindness) to use Drupal.

Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024