Add explanatory text on disabled checkboxes on modules page

Created on 12 October 2017, over 6 years ago
Updated 9 November 2023, 7 months ago

Problem/Motivation

The disabled checkboxes on the modules page are confusing: why can't I disable a module after I just enabled it? The reasons for this are complex and already discussed . But having re-experienced this issue recently, it's still confusing. We should provide *some* help for users.

Proposed resolution

Adding a simple title attribute provides a browser-based hover behavior that can help save time. It's not the ultimate solution, but it is easy to implement and a step forward with no downsides for desktop users.

Remaining tasks

Review text.

User interface changes

Hover text is shown in desktop browsers when the cursor hovers over the disable checkbox.

API changes

none.

Data model changes

none.

🐛 Bug report
Status

Closed: duplicate

Version

11.0 🔥

Component
System 

Last updated 2 days ago

No maintainer
Created by

🇺🇸United States quicksketch

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

    Makes Drupal easier to use. Preferred over UX, D7UX, etc.

  • 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.

  • 🇳🇿New Zealand DanielVeza Brisbane, AU

    I think this still makes sense. As most people have pointed out already, this isn't an improvement for everyone but introduces no regressions.

    Patch still applies to 10.1 with some fuzz. Added an updated patch for 10.1 and kicking off tests.

  • 🇮🇳India Rinku Jacob 13 Kerala

    Hi @DanielVeza, Applied your patch successfully and i got the solution. It was added a simple title attribute . Need RTBC+1.

  • Status changed to Needs work about 1 year ago
  • 🇺🇸United States smustgrave

    Can we also add aria-label. May help expand the users it will help.

    Also leaning towards the idea if a simple assertion could be added anywhere to verify the attributes are present.

  • 🇮🇳India Gauravvv Delhi, India

    I have added "aria-label" to the checkbox, attached interdiff for same.

    Assertion still needs to be added.

  • 🇮🇳India Gauravvv Delhi, India
  • 🇺🇸United States smustgrave

    Thanks look good! And so we don't break it wonder if we can a 2 line assertion somewhere for those values.

  • 🇨🇦Canada mgifford Ottawa, Ontario

    We really should be seeing this use of title as being a form of technical debt. It just isn't an inclusive approach. I am adding a link to the need to actually build a better solution for tooltips. The disabled text could go in the description field rather than the title. It isn't a WCAG failure though, just not a great pattern to repeat.

  • Status changed to Closed: duplicate 7 months ago
  • 🇫🇮Finland lauriii Finland

    There's another issue trying to solve the same problem with different approach: Improve usability of disabled checkboxes on module listing page Needs review .

Production build 0.69.0 2024