Skip to content
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

feat(checkbox): aria-checked now properly conveys and controls checkbox state (VIV-1598) #1956

Conversation

YonatanKra
Copy link
Contributor

@YonatanKra YonatanKra commented Oct 21, 2024

feat(checkbox): aria-checked now controls indeterminate state (VIV-1598)

  • aria-checked reflects current checkbox state
  • setting aria-checked is reflected in checkbox state

The relevant aria-checked state is the one on the element with role="checkbox" - in our case the base element.
FastFoundation also adds aria-checked on the host which is currently redundent as it has no role (we should change the base div to template when we port away from FoundationCheckbox.

Yonatan Kra added 3 commits October 21, 2024 12:35
…ox state

feat(checkbox): aria-checked now controls indeterminate state
Copy link

codecov bot commented Oct 21, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (d61b119) to head (1c4e210).
Report is 1122 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff             @@
##              main     #1956     +/-   ##
===========================================
  Coverage   100.00%   100.00%             
===========================================
  Files          123       353    +230     
  Lines         1562      6974   +5412     
  Branches       108       902    +794     
===========================================
+ Hits          1562      6974   +5412     
Flag Coverage Δ
unittests 100.00% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@TaylorJ76 TaylorJ76 merged commit 79a13b1 into main Oct 22, 2024
15 checks passed
@TaylorJ76 TaylorJ76 deleted the VIV-1598-automatically-populate-aria-checked-and-handle-indeterminate-state branch October 22, 2024 09:33
@github-actions github-actions bot mentioned this pull request Oct 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants