musescore / musescore/MuseScore

Make disabled buttons focusable & show their tooltips on hover

Open
#26,232 2 comments 0 reactions 2 assignees View on GitHub

@shoogle is already working on this.

Since Feb 4, 2025.

accessibility needs design UI UX/interaction
Dominant language
C++
Stars
15.1k
Forks
3.3k
Avg merge
2d 2h
Merged PRs (30d)
91

Description

Your idea

There is some consensus among folks working on accessibility that disabled UI elements should still be focusable AND should still show their associated tooltip when users hover on them (or in some cases, a tooltip explaining why the thing is disabled).

If non-sighted users can't focus on an element, they have no way of knowing it's there. Instead of actually disabling elements, elements should look disabled but remain focusable, and screen readers should tell users when (and sometimes why) the element is disabled.

We should investigate whether this would prove a useful feature for non-sighted MSS users. There might be cases where a whole section of elements are be disabled, and then it might be cumbersome to navigate through them all to find the next enabled thing.

Sources:

Related issue reports:

  • #26206
Example of why this matters

Take the case of a screen-reader user navigating the Instruments panel:

https://github.com/user-attachments/assets/324b02c5-4d40-4d01-8f46-e15738536d48

If you haven't yet selected an instrument in the list, the up/down/trash buttons in the top row are disabled, and you can't navigate focus to them, so when you're focused on that area all you'll know is that there's an Add button. Pressing the right arrow does nothing.

Then you press tab and select an instrument. The buttons above become active, but you don't know that because you're not focused on them. You'd then have to keep exploring the panel: tab-shift back to the add row, and press the right arrow to find the new buttons. But since the right arrow didn't do anything before, you might not guess to press it.

Checklist
  • This request follows the guidelines for reporting issues
  • I have verified that this feature request has not been logged before, by searching the issue tracker for similar requests

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.