Skip to content
This repository has been archived by the owner on Aug 13, 2023. It is now read-only.

P2 a11y bug - episode list - Screenreaders read out part of the date after the duration #4090

Open
1 task
jroebu14 opened this issue Dec 3, 2020 · 3 comments
Labels
a11y Accessibility-related task bug Something isn't working ws-media The World Service media stream

Comments

@jroebu14
Copy link
Contributor

jroebu14 commented Dec 3, 2020

Describe the bug
Screenreaders read out part of the date after the duration. This is because both the duration and date have a style of display: inline - the screenreader thinks they should be read together but only reads part of it - the day of the month - so it sounds like the duration is much longer. Then when you press down again to read the date it will read the remaining part of the date - October 2020 - and not the day of the month.

To Reproduce
Steps to reproduce the behaviour:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behaviour
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Testing notes

  • This bug fix is expected to need manual testing.

Additional context
Add any other context about the problem here.

@jroebu14 jroebu14 added bug Something isn't working a11y Accessibility-related task ws-media The World Service media stream labels Dec 3, 2020
@gavinspence gavinspence added this to Backlog (Ready for dev) in Simorgh Dec 7, 2020
@greenc05 greenc05 changed the title P1/2 a11y bug - episode list - Screenreaders read out part of the date after the duration P2 a11y bug - episode list - Screenreaders read out part of the date after the duration Dec 7, 2020
@jroebu14
Copy link
Contributor Author

I spoke with Catharine about this one. Her thoughts are below:

was thinking it might be specific to the way NVDA behaves but I read it again and saw you said it reads out part of the date… if it had read all of it then I would of put it down to NVDA and how that works (such as it will read out all list items in a list, and other screen readers will read one list item at a time)

I can’t remember if NVDA only reads so many characters or words before you have to do another press of the arrow key, could be that

@gavinspence
Copy link

Can we close this @greenc05 ? It seems like it's behaviour specific to NVDA.

@greenc05
Copy link
Contributor

greenc05 commented Mar 8, 2021

NVDA will only read a set number of characters out when you press the down arrow key to navigate. I see when navigating via links (pressing the tab key) and then pressing the down arrow key to move to the time element, the day and the month is not read out - just the year. Looking at this, I think the div wrapping the time element needs display inline-block and the time element needs display block to fix this.

@gavinspence gavinspence removed this from Backlog (Ready for dev) in Simorgh May 18, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
a11y Accessibility-related task bug Something isn't working ws-media The World Service media stream
Projects
None yet
Development

No branches or pull requests

3 participants