GAUD-9091: Fixing Keyboard Navigation In Calendar For RTL Langs#7048
GAUD-9091: Fixing Keyboard Navigation In Calendar For RTL Langs#7048EdwinACL831 wants to merge 3 commits into
Conversation
- Refactors logic to comply with the AXE regulations for calendar navigation. Independently from the languange (RTL or LTR) when pressing HOME key should go to the starting day of the week. On the other hand when pressin END should go to the last day of the week. This is according to each calendar
|
Thanks for the PR! 🎉 We've deployed an automatic preview for this PR - you can see your changes here:
Note The build needs to finish before your changes are deployed. |
|
I agree that It is however weird for laptop users, because |
I get your point and probably it will, I can test that on my laptop. And I also see that mine has an actual home button and end button (basically F11 and F12 are by default my Home and End buttons respectively). I can test how that works and fells but yeah I think this is scoped only to the calendar component according to WCAG, so maybe RTL users don't get mad very often. |
|
I think this is what we want... that mapping just seems weird for laptop keyboards, but I think it is more of a hardware/OS thing. In the end, we were responding to the |
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
| expect(calendar._shownMonth).to.equal(8); | ||
| }); | ||
|
|
||
| describe('RTL', () => { |
There was a problem hiding this comment.
I actually ran these 2 test with the previous implementation and they did fail. then rerun them after my changes and all was 🟢
Jira
GAUD-9091
Solution