Link to remove facet filter in summary lacks clear link text

Created on 5 April 2024, 3 months ago

Problem/Motivation

When using the facets summary module you can display links to remove currently selected facets. The markup of these links doesn't really support assistive technologies to make the purpose of the link clear. Visually I see (-) before the name of the facet to indicate that the link removes it. But to a screen reader that isn't clear.

Steps to reproduce

Enable the Facets Summary module. Place the summary block on a search page. Select some facets. Use a screen reader to listen to the Facet Summary links that remove the selected filters.

Proposed resolution

Update the twig template to use visually hidden text to provide more context.

πŸ› Bug report
Status

Needs review

Version

3.0

Component

Facet summary

Created by

πŸ‡ΊπŸ‡ΈUnited States sim_1

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

Merge Requests

Comments & Activities

Production build 0.69.0 2024