Open JuliaKirschenheuter opened 2 years ago
Server PR for a global setting to opt out of keyboard shortcuts to satisfy accessibility is in:
Method to check: OCP.Accessibility.disableKeyboardShortcuts()
If that is true
the app(s) must not register ANY shortcuts.
Initial state to check is:
loadState('theming', 'shortcutsDisabled', false)
Can we have some kind of API for this? Feels a bit strange to me if we fetch an initial state of another app.
Can we have some kind of API for this?
Anything you have in mind? Yet another package, or just a global function in server/core which then relies on the initialstate?
Whatever makes this an official API that we can document. But I see that there is no time to address this properly at the moment.
OCP.Accessibility.disableKeyboardShortcuts()
was added as discussed in the chat
Is your feature request related to a problem? Please describe.
Accessibility issue.
Please create shortcuts for contacts and place them into settings (like in Mail or Calendar app).
Some shortcuts (especially character key shortcuts) can interfere with shortcuts used by some assistive technologies. Please make sure that the shortcuts don’t interfere with screen reader commands (NVDA, Jaws, Orca).
See more here https://www.w3.org/TR/WCAG21/#character-key-shortcuts https://webtest.bitv-test.de/index.php?a=di&iid=269&s=n
Describe the solution you'd like
No response
Describe alternatives you've considered
No response
Additional context
No response