Skip to content

Add accessible header for the actions column#4812

Open
mvanhorn wants to merge 1 commit into
nextcloud:masterfrom
mvanhorn:fix/4464-a11y-actions-column-header
Open

Add accessible header for the actions column#4812
mvanhorn wants to merge 1 commit into
nextcloud:masterfrom
mvanhorn:fix/4464-a11y-actions-column-header

Conversation

@mvanhorn

Copy link
Copy Markdown
Contributor

Summary

The actions column in the Team folders admin settings table rendered an empty <th/> header cell. This adds a visually hidden, translatable "Actions" label so the column has an accessible name without changing the visual layout.

Why this matters

The header cell for the per-row edit and delete controls had no text or accessible name, so screen readers announced an unlabeled column and assistive-technology users were left without context for the action controls in each row (#4464). The label uses the existing hidden-visually class (already used in SharingSidebarView.vue) and the t('groupfolders', ...) helper, so it is localized and visually hidden rather than shown as visible text. The column layout is unchanged.

Testing

  • A screen reader now announces "Actions" for the previously empty header column.
  • The table header row is visually unchanged; the label is visually hidden via hidden-visually.
  • eslint src/settings/App.tsx introduces no new errors from this change (the pre-existing errors in the file are unrelated and present on master).

Fixes #4464

The actions column header in the Team folders settings table rendered
an empty <th/>, so screen readers announced an unlabeled column for the
per-row edit and delete controls. Add a visually hidden, translatable
"Actions" label so assistive technologies announce the column while
the visual layout stays unchanged.

Fixes nextcloud#4464

Signed-off-by: Matt Van Horn <455140+mvanhorn@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[a11y] missing header for actions column

1 participant