Indicate required on publish to people using screenreaders

Created on 9 January 2020, almost 5 years ago
Updated 6 November 2023, about 1 year ago

This is a follow-up to #2986611: Indicate Require on Publish to User β†’ which shows an indicator that there's something different about a field that is required on publish. Accessibility concerns were taken into account to ensure the icon for this wasn't distinguished only by color.

We should also indicate for people using screenreaders that a field is required on publish.

As there's no aria defined required-only-on-publish concept, i guess this would have to take the form of text that is given the visually-hidden class.

Alternatively/additionally, for our current use case we make nothing but the title regular required, so for us "required on publish" fully takes the place of regular required, and we make the required on publish fields use the usual red asterisk, and i would like to use aria-required="true" on the required on publish fields also if that would not be an accessibility faux pas.

✨ Feature request
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States mlncn Minneapolis, MN, USA

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

Not all content is available!

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

  • First commit to issue fork.
Production build 0.71.5 2024