You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
issues with the calendar navigation buttons, where screen readers do not properly recognize them. The aim of this issue is to address this concern by implementing a change.
Proposed solution
Add Visually Hidden Text to Calendar Navigation Buttons
Alternatives considered
No response
Additional technical context
The visually hidden text has been implemented using a span element with a class that applies CSS rules to hide it from sighted users while keeping it accessible to screen readers.
The text was updated successfully, but these errors were encountered:
#940)
### Changes
- Added visually hidden text to the navigation buttons for improved
accessibility:
- `<span class="visually-hidden">Previous Calendar View</span>` was
added to the previous button.
- `<span class="visually-hidden">Next Calendar View</span>` was added to
the next button.
### CSS
- Added the following CSS class to hide the text visually while keeping
it accessible to screen readers:
```css
.visually-hidden {
position: absolute;
width: 1px;
height: 1px;
margin: -1px;
padding: 0;
overflow: hidden;
clip: rect(0, 0, 0, 0);
border: 0;
}
### Related Issue
Fixes#939
---------
Co-authored-by: Erbil <erbilnas071@gmail.com>
Describe the problem or use case
issues with the calendar navigation buttons, where screen readers do not properly recognize them. The aim of this issue is to address this concern by implementing a change.
Proposed solution
Add Visually Hidden Text to Calendar Navigation Buttons
Alternatives considered
No response
Additional technical context
The visually hidden text has been implemented using a span element with a class that applies CSS rules to hide it from sighted users while keeping it accessible to screen readers.
The text was updated successfully, but these errors were encountered: