Skip to content

browser: a11y: add column-spacing support to grid types#15374

Open
hcvcastro wants to merge 7 commits intoCollaboraOnline:distro/collabora/co-25.04from
hcvcastro:backport/distro/collabora/co-25.04/0D
Open

browser: a11y: add column-spacing support to grid types#15374
hcvcastro wants to merge 7 commits intoCollaboraOnline:distro/collabora/co-25.04from
hcvcastro:backport/distro/collabora/co-25.04/0D

Conversation

@hcvcastro
Copy link
Copy Markdown
Member

  • browser: a11y: remove tabindex attribute from row elements
  • browser: a11y: remove the focusout event handler
  • browser: a11y: simplify the keydown event handler
  • browser: a11y: add focusin event handler
  • cypress: update treelistbox focus unit test
  • browser: a11y: add column-spacing support to grid types
  • browser: a11y: add text-align to fixedtext type

@github-project-automation github-project-automation bot moved this to To Review in Collabora Online Apr 3, 2026
@hcvcastro hcvcastro force-pushed the backport/distro/collabora/co-25.04/0D branch from 1b6e381 to 7a2427d Compare April 6, 2026 10:54
hcvcastro and others added 7 commits April 7, 2026 08:12
The default tabindex should be assigned to a unique row to receive
focus. Setting it to all rows is not the default key navigation behavior.

Change-Id: I3272fb485349ee4da81a46791cf08ece9150a59d
Signed-off-by: Henry Castro <hcastro@collabora.com>
When the grid widget loses focus, it is not necessary
to iterate through all rows or change the tabindex,
since only one row is focusable.

Change-Id: Ib0ecfaed5242235888441a37468f1c95f99750b6
Signed-off-by: Henry Castro <hcastro@collabora.com>
It is not necessary to create another array to find
the next focusable row. We can simplify this by using
the existing DOM sibling structure to navigate focus
with the arrow keys.

Change-Id: Ib8286560e88b8de1136f078729874b9160a41bd1
Signed-off-by: Henry Castro <hcastro@collabora.com>
When the widget receives focus from outside,
it should focus the row and send a 'selection'
message to the server to select the currently focused row.

Change-Id: Ibcd5c1a8aa2e694cf441fa6d8f8fd7a90d637f3f
Signed-off-by: Henry Castro <hcastro@collabora.com>
Change-Id: I35cfa7a545cc5d2f8f49619e8a54341bc1f6e047
Signed-off-by: Henry Castro <hcastro@collabora.com>
The Columns dialog requires that the Spacing
input labels adjust with the column-spacing
property to visually center the columns and
avoid misinterpretation by users with accessibility
needs.

Change-Id: I4ae383073a5f422e975eeb03f8ec7e044e7bbb55
Signed-off-by: Henry Castro <hcastro@collabora.com>
Some columns in the grid widget require centering
the static text for accessibility.

requires: https://gerrit.collaboraoffice.com/c/core/+/233

Change-Id: I439688e17b500c472d893fe97b4a5b8452e0a872
Signed-off-by: Henry Castro <henry.castro@collabora.com>
@hcvcastro hcvcastro force-pushed the backport/distro/collabora/co-25.04/0D branch from 7a2427d to 615e867 Compare April 7, 2026 12:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: To Review

Development

Successfully merging this pull request may close these issues.

1 participant