nextcloud / nextcloud/tables

Have more specific aria-labels for columns

Open
#2,011 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

accessibility
Dominant language
JavaScript
Stars
214
Forks
52
Avg merge
1d 10h
Merged PRs (30d)
82

Description

As there can be multiple columns with link provider dropdowns, it would be better to make the label more specific — for example:

:aria-label-combobox="t(
    'tables',
    'Choose link provider for column {column}',
    { column: column.title || t('tables', 'Unnamed column') }
)"

Originally posted by @silverkszlo in https://github.com/nextcloud/tables/pull/1977#discussion_r2276760090

With a generic label like “Choose link provider”, a screen reader user wouldn’t know which column they’re editing if there are multiple link columns. Including the column title makes each field uniquely identifiable and usable. I don’t have the full picture of how accessibility is usually handled in the app — it could be worth considering more broadly later — but in this case it feels especially relevant, since otherwise the table isn’t really accessible for screen reader users.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Locate the column link provider dropdown and the existing generic “Choose link provider” aria label. Update the label to include the column title, using “Unnamed column” when needed, then verify that each dropdown is uniquely identifiable to screen reader users.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
accessibility, frontend
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.