Skip to content

Table accessibility (screen readers) #9160

@hmig

Description

@hmig

Provide a general summary of the issue here

Component tested: https://react-spectrum.adobe.com/react-aria-tailwind-starter/iframe.html?viewMode=docs&id=table--docs&globals=

Screen readers tested with: NVDA (chrome), JAWS (Chrome) and VO (Safari)

Screen readers are reading out extra information related to the existence of the resizing slider and the width of the cell which has nothing to do with the cell data.

🤔 Expected Behavior?

Screen readers read out the cell data without "75 pixels" OR "Resizer Type Resizer" also being read out.

😯 Current Behavior

NVDA and JAWS both read out a pixel value with the cell data (example Type75 pixels column 3 System file) and it is read out with each cell as you navigate to the right through a row. VO reads it out as "Type and Resizer Type Resizer System file, column 3 of 4."

The "75 pixels" and "Resizer Type Resizer" are part of the computed name for the column header in chrome and safari respectively.

💁 Possible Solution

Update the column headers so that the slider is not a part of the computed accessible name.

🔦 Context

The pixel/resizer info is a confusing addition to the cell data.

🖥️ Steps to Reproduce

Component tested: https://react-spectrum.adobe.com/react-aria-tailwind-starter/iframe.html?viewMode=docs&id=table--docs&globals=

Screen readers tested with: NVDA (chrome), JAWS (Chrome) and VO (Safari)

Navigate the cells of the table with various screen readers.

Version

latest - this is the example from the docs

What browsers are you seeing the problem on?

Chrome, Safari

If other, please specify.

No response

What operating system are you using?

Mac/PC

🧢 Your Company/Team

No response

🕷 Tracking Issue

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions