-
Notifications
You must be signed in to change notification settings - Fork 0
π¨ Palette: λΉμνΈμμ© μμμ ν΄ν μ κ·Όμ± κ°μ #481
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
Closed
seonghobae
wants to merge
5
commits into
develop
from
palette-a11y-tooltip-focus-8476983301548473241
Closed
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
85d418d
π¨ Palette: λΉμνΈμμ© μμμ ν΄ν μ κ·Όμ± κ°μ
seonghobae d56a12d
π¨ Palette: λΉμνΈμμ© μμμ ν΄ν μ κ·Όμ± κ°μ
seonghobae 8d4cb20
π¨ Palette: λΉμνΈμμ© μμμ ν΄ν μ κ·Όμ± κ°μ
seonghobae 75b5379
π¨ Palette: λΉμνΈμμ© μμμ ν΄ν μ κ·Όμ± κ°μ
seonghobae d67194d
π¨ Palette: λΉμνΈμμ© μμμ ν΄ν μ κ·Όμ± κ°μ
seonghobae File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
π― Functional Correctness | π Major | ποΈ Heavy lift
π§© Analysis chain
π Script executed:
Repository: ContextualWisdomLab/scopeweave
Length of output: 2761
π Web query:
W3C WAI ARIA APG tooltip role note title attribute keyboard focus aria-describedby tooltip guidanceπ‘ Result:
To create an accessible tooltip, the W3C WAI ARIA Authoring Practices Guide (APG) provides specific guidance to ensure compatibility with screen readers and keyboard navigation [1][2]. Key requirements for an accessible tooltip include: Role and Association: Use role="tooltip" on the tooltip container element [1][3]. The triggering element must reference the tooltip container using the aria-describedby attribute [1][4]. Keyboard Focus: Tooltips do not receive focus themselves [1][3]. Focus remains on the triggering element while the tooltip is visible [1][5]. The tooltip must appear when the trigger receives focus and disappear when the trigger loses focus (onBlur) [1][6]. Dismissal: The Escape key should be implemented to dismiss the tooltip [1][3][7]. If triggered by hover, it should disappear on mouse-out [1][3]. To meet WCAG 1.4.13 requirements, tooltips must be dismissible without moving the pointer, and if triggered by hover, they should remain visible when the pointer moves from the trigger to the tooltip itself [3][7]. Avoid the title Attribute: You should avoid using the HTML title attribute for tooltips [8][5]. It is not reliably accessible, cannot be styled, is often not triggered by keyboard focus, and is frequently ignored by screen readers [3][8]. Implementation Note: The tooltip pattern is considered a work in progress by the WAI, and developers are encouraged to follow the latest APG recommendations for specific keyboard and focus management [1]. For content that is complex or interactive, consider using a different pattern, such as a popover or modal dialog, as tooltips are intended for short, non-interactive contextual information [1][3].
Citations:
π Script executed:
Repository: ContextualWisdomLab/scopeweave
Length of output: 7917
π Script executed:
Repository: ContextualWisdomLab/scopeweave
Length of output: 2726
π Script executed:
Repository: ContextualWisdomLab/scopeweave
Length of output: 643
titleμ μ κ·Ό κ°λ₯ν ν΄νμΌλ‘ μ¬μ©νμ§ λ§μΈμ.μΈ κ°μ
.meta-value-cardλͺ¨λtitleκ³Όrole="note"λ§ μ¬μ©νλ©°aria-describedbyμ°κ²°μ΄ μμ΅λλ€. λͺ μμ μ€λͺ μμλ₯Ό μΆκ°νκ³ , ν¬μ»€μ€Β·λ§μ°μ€ λμκ³Ό μ€λͺ νμλ₯Ό ꡬννμΈμ. κΈ°μ‘΄.meta-value-card:focus-visibleμ€νμΌμ μ μ§νμΈμ..jules/palette.mdμtabindex="0"λ°role="note"μ μ©λ νμν κ²½μ°λ‘ μ ννμΈμ. κ΄λ ¨ E2E ν μ€νΈμμ μ κ·Ό κ°λ₯ν μ€λͺ κ³Ό λμμ κ²μ¦νμΈμ.π Affects 2 files
index.html#L31-L42(this comment).jules/palette.md#L118-L120π€ Prompt for AI Agents
Source: Coding guidelines