Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Weekday on the list view has aria-hidden=True #7645

Open
1 task done
danlerche opened this issue Apr 4, 2024 · 2 comments
Open
1 task done

Weekday on the list view has aria-hidden=True #7645

danlerche opened this issue Apr 4, 2024 · 2 comments

Comments

@danlerche
Copy link

Reduced Test Case

https://pentictonlibrary.ca/programs/all-ages/program-and-event-calendar/

Do you understand that if a reduced test case is not provided, we will intentionally delay triaging of your ticket?

  • I understand

Which connector are you using (React/Angular/etc)?

No connector (vanilla JS)

Bug Description

Not sure if this issue has been reported yet. Aria hidden shows as true on the weekday on the list view. Working with an accessibility team that pointed this issue out to me. Can't seem to remove the attribute with jQuery either.

@danlerche
Copy link
Author

danlerche commented Apr 4, 2024

Update: was able to fix this with:

$(document).ready(function() { // Function to remove aria-hidden attribute for elements with class fc-list-day-side-text function removeAriaHidden() { $('.fc-list-day-side-text').attr('aria-hidden', 'false'); } $('.fc-listMonth-button').click(function() { removeAriaHidden(); }); });

@acerix acerix changed the title Accessibility Issue: Weekday on the list view has aria-hidden=True Weekday on the list view has aria-hidden=True Apr 5, 2024
@acerix
Copy link
Member

acerix commented Apr 5, 2024

I can see the same issue in this basic demo:

https://codepen.io/acerix/pen/GRLQPmq?editors=001

It looks like the aria-label on that is also just repeating the full date instead of the weekday name:

Screenshot_2024-04-05_17-53-35

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Todo
Development

No branches or pull requests

3 participants