element-hq / element-hq/element-web

Accessibility : search results are invisible to screen readers

Open
#27,037 4 comments 0 reactions 0 assignees View on GitHub
A-Search A11y O-Uncommon S-Major T-Defect X-Cannot-Reproduce
Dominant language
TypeScript
Stars
13.5k
Forks
2.8k
PR merge metrics
PR metrics pending

Description

### Steps to reproduce

1. Where are you starting? What can you see?
I have impaired vision and use a screen reader. The fastest way for me to navigate between rooms is to use search.
I do : ctrl + K : I am in the search dialog.
I type some text. Nothing happens.

### Outcome

#### What did you expect?
I expected something like "5 results" and be able to navigate to them.

#### What happened instead?
Nothing.

### Details

Here is the aria view of the dialog with "tchap" as search term : no search results. (Obtained with plugin "Aria Devtools" in firefox)

Screen Shot 2024-02-20 at 10 16 27 AM

Here is the corresponding view for sighted users : search results are present

Screen Shot 2024-02-20 at 10 16 44 AM

This was reported by a user, we have a video (in french) that we can share privately. She uses Firefox, with NVDA screen reader. I myself am not an expert on accessibility and screen readers :)

This has happened in Tchap (Element fork) since mid-december, which corresponds to upgrading to element-web 1.11.44 (from 1.11.40 previously). I remember there was a big change in the search dialog, it was simpler before, maybe this is the breaking change ?

### Operating system

Windows

### Browser information

Firefox, with NVDA screen reader

### URL for webapp

_No response_

### Application version

_No response_

### Homeserver

_No response_

### Will you send logs?

No

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.