question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Day of week should be announced to screen readers when navigating the calendar

See original GitHub issue

Is your feature request related to a problem? Please describe. Currently the days of the week aren’t announced by a screen reader when navigating the calendar. The <table> structure is correct, so presumably this is due to the use of grid + gridcell roles. Whatever the cause, the result is that screen reader users don’t know what day of the week their currently-focused date is.

Describe the solution you’d like Simplest solution would be to append or prepend the day of the week to the hidden text in each button, i.e.:

<span class="duet-date__vhidden">Thursday, 2020-09-24</span>

This could be done with Date.toLocaleDateString() to support internationalization.

Describe alternatives you’ve considered The only alternative I can think of would be to drop the use of grid and just use a plain table, but this doesn’t seem like a good solution—it would mean sighted keyboard users would be forced to TAB through the calendar instead of using arrow keys.

Additional context Tested with JAWS, NVDA and MacOS Voiceover.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:11 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
aardriancommented, Oct 2, 2020

A screen reader announces the content that the user agent provides. A browser (user agent) is a machine, but one that act on behalf of the person to parse code into human-readable content.

By machine-readable, I mean something that slurps things RDF data, such as a search engine, to use for structuring, sorting, filtering data that may or may not eventually be re-purposed and presented to users in raw or aggregate form.

1reaction
aardriancommented, Sep 30, 2020

The items I list above are also why I asked #26 to not be closed. Column headers are a better way of exposing this information to screen reader users – barring testing with users telling you otherwise.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Basic tasks using a screen reader with the calendar in Outlook
Set up your calendar view. You can set up your calendar to show a selected day, a work week, a full week, or...
Read more >
Use Google Calendar with a screen reader
If you use a screen reader in Google Calendar, you can: Create and track events ... It's where events are shown in schedule,...
Read more >
Date Picker Dialog Example | WAI-ARIA Authoring Practices 1.1
Date Picker Dialog · Indicates the element that displays information about keyboard commands for navigating the grid should be automatically announced by screen...
Read more >
The trouble with blind dates: screen readers and date formatting
In many cases you will even skip the description in favour of the date, time and title. As a user, you expect the...
Read more >
A New Day: Making a Better Calendar - 24 Accessibility
A calendar widget should support all these input modalities. ... letter B may conflict with a screen readers ability to navigate buttons.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found