-
Notifications
You must be signed in to change notification settings - Fork 13
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
week numbers #53
base: main
Are you sure you want to change the base?
week numbers #53
Conversation
@WickyNilliams Hi there. Is there anything we could help with to get the |
I just need to merge and release really. Not sure why I didn't at the time, since the feature is complete. I haven't had much time recently as I've had a lot going on. But I'm planning on putting some hours in later this week. I'll ping you when it's released :) In the meanwhile, feel free to take a look at the code and give any feedback! |
Thanks @WickyNilliams I already did! Looks really good, it is a breeze to use Cally. |
@WickyNilliams One thing that might be a tricky one is that if the week-numbers are structurally part of the table, they will be part of the navigation of assistive technologies like NVDA and VoiceOver. Since the week-numbers do not take part in the date selection process this might confuse screenreader users. What do you think? |
It should announce "30th December, Monday, week 52" (order may not be correct, I'm going from memory), which I think is fine? The week will only be announced when you change week (move focus vertically). Similar to how day is only announced when you change day (move focus horizontally). So it shouldn't be overly noisy. If you have chosen to show the week number, it feels like you'd want this announced else why show the week number? |
That sounds reasonable. I just wanted to make the point that if the week-numbers are part of the table, the table could be announced with one additional columnwhich might confuse the user. This is just wild guessing tho as I do not have the rendered markup in front of me. |
Ah I see what you mean. The week number cells are configured as headers, rather than a regular cell. So I hope it should be clear, especially if devs give a reasonable title to the column. I'll make sure to do some additional screen reader testing before merge |
This is a bit off-topic, but related to weeks → Do you think it would be feasible to let the shortDayName be configurable between |
following up: I made some tweaks over the weekend to improve how weeks get announced. I need to do more testing with various screen readers to see how they all fare |
@raphaelokon that might be nice, can you create a new issue for that |
@WickyNilliams Do you need any testing help with the week-numbers? I also created an issue re configuring the weekname abbreviation. |
show-week-numbers
option to date/range/multi componentsweeknumber
slot to month component<col>
s plus css parts for each column in monthweekday
part for day headings,weeknumber
part for week number headingTodo