Open msviolafangirl opened 8 months ago
I would like to work on this issue.
Here, I believe we probably need access to the action code "note-input" in notationbraille.cpp
, as implemented in notationactioncontroller to solve this issue. Can someone confirm if I'm heading in the right direction?
or
Would accessing setKeys be the solution?
@shubham-shinde-442, I'm not sure why NotationActionController
uses the "note-input"
action to determine whether we're currently in note input mode when it already knows this from a few lines above. I suppose the call to noteInput->startNoteInput()
could fail, so checking the status of the action code explicitly might be more reliable that just assuming the call succeeded.
Anyway, in NotationBraille
it looks like we're already telling the accessibility system that we're entering braille input mode, so the real question is why isn't the screen reader saying anything?
My guess is it's to do with the fact the braille TextArea has focus rather than an element in the score view. Notice in NotationAccessibility::setTriggeredCommand()
it associates the command message with a dummy item in the score view. That's probably not going to work when focus is outside the score view.
You probably need to modify setTriggeredCommand()
to associate the message with an object elsewhere in the accessibility tree. Possibly the TextArea itself should be temporarily renamed to include the command message "Braille input mode", or you could transfer focus to a dummy panel that is named like the command message.
Thanks @shoogle .
@shubham-shinde-442 are you still working on this? If so, I'll re-classify it as "in progress" 🙂
@bkunda No, I'm currently busy in university exams. If someone wants to work on this issue, please go ahead. Otherwise, I will fix it within a month 🙂
@shubham-shinde-442 I think this one might still be available for you if you have time (hope your university exams went well, btw!). @shoogle FYI.
@bkunda Sure! I'll create PR soon 🙂
Issue type
UX/Interaction bug
Bug description
When in the braille panel, pressing n results in no screen reader feedback about whether the user is in note input mode or normal mode. This is not an issue after one gets to the normal entry window by pressing shift+tab.
Steps to reproduce
With screen reader enabled:
Screenshots/Screen recordings
No response
MuseScore Version
4.2
Regression
No.
Operating system
Windows 10
Additional context
No response