-
Notifications
You must be signed in to change notification settings - Fork 38
[FEATURE] [MER-5134] Accessibility of modals wcag sc 1 3 2 2 4 3 4 1 2 - Rework 1 #6129
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
Open
Francisco-Castro
wants to merge
18
commits into
master
Choose a base branch
from
MER-5134-accessibility-of-modals-wcag-sc-1-3-2-2-4-3-4-1-2-RWK-1
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
[FEATURE] [MER-5134] Accessibility of modals wcag sc 1 3 2 2 4 3 4 1 2 - Rework 1 #6129
Francisco-Castro
wants to merge
18
commits into
master
from
MER-5134-accessibility-of-modals-wcag-sc-1-3-2-2-4-3-4-1-2-RWK-1
Conversation
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
AI Review — securityNo issues found |
AI Review — performanceNo issues found |
AI Review — typescriptNo issues found |
AI Review — uiNo issues found |
AI Review — elixirNo issues found |
…es panel annotations
…lement IDs instead of phx-click attribute
…cessible with button elements and aria attributes
… with flex in outline component
…ex, and harden annotation bubbles hook
…ble labels, and notes panel button tab order
…anel, and video players with proper ARIA labels and roles
…ter accessibility fixes
…x.from_now calls in post/reply components
…ontrol accessibility
… match visual layout (WCAG 1.3.2, 2.4.3)
09aff25 to
f08feae
Compare
…ors for accessibility compliance
…d ARIA roles for page content
|
Preview deployed to: https://pr-6129.plasma.oli.cmu.edu |
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.
Ticket: MER-5134
Summary
This PR improves accessibility across the lesson delivery experience, focusing on WCAG compliance for screen readers, keyboard navigation, and focus management.
Notes Panel
aria-labelledbyaria-labelphx-window-keydownJS.pop_focus())push_event("js-exec", ...)for proper timingaria-label: "Note by John, 2 hours ago: message content"Annotation Bubbles
aria-presseddestroyed()hook prevents memory leakscurrentIndexclamped to valid range when bubbles are removedOutline Panel
aria-labelledbyaria-pressed<div>to<button>witharia-expandedandaria-controlsaria-hidden="true"to reduce screen reader noisesm:py-1padding to prevent overflow clipping of focus outlinesPage Content
role="page content"(invalid) torole="region" aria-label="Page content"(valid landmark)Video Players
aria-role="img"which was hiding all playback controls from screen readersaria-labelstill applied when alt text is providedPerformance
Timex.from_now) instead of calling multiple times in templateWCAG Criteria Addressed