Add theme function to process contextual trigger text.

Created on 24 September 2020, about 4 years ago
Updated 12 August 2024, 3 months ago

Problem/Motivation

In πŸ“Œ Contextual Links Style Update Needs work , we've run into some circumstances where it is beneficial to perform some formatting on screenreader-only trigger text.

Steps to reproduce

Proposed resolution

  • Add a theme function that simply returns the contextual trigger text that it is provided as an argument. This will result in no changes to how a user experiences contextual links, but it will provide themes the ability to modify the contents of the trigger text.
  • Contextual Links AuralView JavaScript should process the trigger text with this theme function.

Remaining tasks

If πŸ“Œ Contextual Links Style Update Needs work has landed, there may be a @todo referencing this issue.

User interface changes

API changes

Data model changes

Release notes snippet

✨ Feature request
Status

Needs work

Version

11.0 πŸ”₯

Component
ContextualΒ  β†’

Last updated about 2 months ago

Created by

πŸ‡ΊπŸ‡ΈUnited States bnjmnm Ann Arbor, MI

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

    Affects the content, performance, or handling of Javascript.

  • Novice

    It would make a good project for someone who is new to the Drupal contribution process. It's preferred over Newbie.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024