Skip to content

accessibility shortcut fix#14674

Merged
caolanm merged 4 commits intomainfrom
private/rparth07/accessibility-shortcut-fix
Feb 25, 2026
Merged

accessibility shortcut fix#14674
caolanm merged 4 commits intomainfrom
private/rparth07/accessibility-shortcut-fix

Conversation

@rparth07
Copy link
Copy Markdown
Contributor

@rparth07 rparth07 commented Feb 25, 2026

Changes:

  1. fix quick access accelerators for search button in home tab
  2. enhance existing sidebar accelerator shortcut logic
  3. add new shortcut for opening view mode dropdown
  4. fix broken accelerator shortcut for style view expand button

Checklist

  • I have run make prettier-write and formatted the code.
  • All commits have Change-Id
  • I have run tests with make check
  • I have issued make run and manually verified that everything looks okay
  • Documentation (manuals or wiki) has been updated or is not required

… tab

This fixes the regression of eb6bbe5 caused by introduction of overflow group popup, which created a conflicting overflow group id with home search  button for Writer, Calc and Draw notebook bar

Signed-off-by: Parth Raiyani <parth.raiyani@collabora.com>
Change-Id: I138fdbb197585f9c3af95d681570952b7a028b2b
Changes:
1. This reverts the commit 5fccafd
2. Introduces more simplified fix which focuses on creating accessibility definitions with correct element id exist in DOM

Signed-off-by: Parth Raiyani <parth.raiyani@collabora.com>
Change-Id: I9ed3ad0ca3f90665efc68014111263deece583fc
- Add new shortcut 'VM' to open the view mode dropdown using accelerator

Signed-off-by: Parth Raiyani <parth.raiyani@collabora.com>
Change-Id: I3e29b4a1f38ebffd75b0c8299357f6b398d7b5b4
Comment thread browser/src/dom/NotebookbarAccessibilityDefinitions.js Outdated
Copy link
Copy Markdown
Contributor

@eszkadev eszkadev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

with this PR I no longer can open accelerators in Calc:

Uncaught TypeError: Cannot read properties of null (reading 'accessKey')
    at NotebookbarAccessibilityDefinitions.targetedButtonsForTab (NotebookbarAccessibilityDefinitions.js:184:15)
    at NotebookbarAccessibilityDefinitions.getTabsAndContents (NotebookbarAccessibilityDefinitions.js:104:10)
    at NotebookbarAccessibilityDefinitions.getDefinitions (NotebookbarAccessibilityDefinitions.js:190:34)
    at NotebookbarAccessibility.<anonymous> (

@github-project-automation github-project-automation Bot moved this from To Review to In Progress in Collabora Online Feb 25, 2026
…utton

- This fixes the regression caused by e2538b1 - removed existing json data which also contains the accessibility shortcut.

Change-Id: I47102aa114f0e4d9f1b12b89b9371670908e9cb4
Signed-off-by: Parth Raiyani <parth.raiyani@collabora.com>
@rparth07 rparth07 force-pushed the private/rparth07/accessibility-shortcut-fix branch from da62fff to e535d5f Compare February 25, 2026 11:51
@@ -1000,7 +1000,7 @@ window.L.Control.NotebookbarWriter = window.L.Control.Notebookbar.extend({
{ type: 'separator', id: 'home-charmapcontrol-break', orientation: 'vertical' },
{
'type': 'overflowgroup',
'id': 'home-search',
'id': 'home-find-n-filter',
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

are we sure it doesn't break any styling?
cc @pedropintosilva

Copy link
Copy Markdown
Contributor

@eszkadev eszkadev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks ok now

@github-project-automation github-project-automation Bot moved this from In Progress to To Test in Collabora Online Feb 25, 2026
@caolanm caolanm merged commit 9db0423 into main Feb 25, 2026
13 of 15 checks passed
@caolanm caolanm deleted the private/rparth07/accessibility-shortcut-fix branch February 25, 2026 14:10
@github-project-automation github-project-automation Bot moved this from To Test to Done in Collabora Online Feb 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

3 participants