Scheduler - A11y: announce the disabled time range in the aria-label of the Cell Templates demo - #34652
Open
aleksei-semikozov wants to merge 2 commits into
Open
Conversation
…of the Cell Templates demo
Contributor
There was a problem hiding this comment.
Pull request overview
This PR improves accessibility for the Scheduler “Cell Templates” demo by ensuring the scheduler’s aria-label includes an announcement of the globally disabled time range (in addition to disabled dates), helping screen reader users understand unavailable scheduling periods.
Changes:
- Added a
formatHourhelper and adisabledTimeDescriptionmessage derived fromdinnerTime. - Updated the computed/derived
ariaDescriptionto concatenate disabled-dates and disabled-time descriptions across Vue, React (TS), React (JS), Angular, and jQuery demo implementations.
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| apps/demos/Demos/Scheduler/CellTemplates/Vue/App.vue | Extends aria description to include disabled time range using dinnerTime. |
| apps/demos/Demos/Scheduler/CellTemplates/ReactJs/App.js | Adds disabled time range announcement to aria description in the React JS demo. |
| apps/demos/Demos/Scheduler/CellTemplates/React/App.tsx | Adds disabled time range announcement to aria description in the React TS demo. |
| apps/demos/Demos/Scheduler/CellTemplates/jQuery/index.js | Adds disabled time range announcement to aria description in the jQuery demo. |
| apps/demos/Demos/Scheduler/CellTemplates/Angular/app/app.component.ts | Adds disabled time range announcement to aria description in the Angular demo. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.