Skip to content
This repository has been archived by the owner on Mar 4, 2020. It is now read-only.

feat(acc): Alert behavior #1119

Merged
merged 7 commits into from
Apr 1, 2019
Merged

feat(acc): Alert behavior #1119

merged 7 commits into from
Apr 1, 2019

Conversation

jurokapsiar
Copy link
Contributor

@jurokapsiar jurokapsiar commented Mar 27, 2019

Adds role=alert or status (depending on the variant) and aria-live=polite to the root slot

@codecov
Copy link

codecov bot commented Mar 27, 2019

Codecov Report

Merging #1119 into master will increase coverage by 0.02%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1119      +/-   ##
==========================================
+ Coverage   82.33%   82.35%   +0.02%     
==========================================
  Files         730      732       +2     
  Lines        8684     8696      +12     
  Branches     1167     1233      +66     
==========================================
+ Hits         7150     7162      +12     
  Misses       1519     1519              
  Partials       15       15
Impacted Files Coverage Δ
packages/react/test/specs/behaviors/testHelper.tsx 82.14% <ø> (ø) ⬆️
packages/react/src/lib/accessibility/index.ts 100% <100%> (ø) ⬆️
...lib/accessibility/Behaviors/Alert/alertBehavior.ts 100% <100%> (ø)
packages/react/src/components/Alert/Alert.tsx 100% <100%> (ø) ⬆️
...essibility/Behaviors/Alert/alertWarningBehavior.ts 100% <100%> (ø)
packages/react/src/index.ts 100% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4ae442a...5296df5. Read the comment docs.

Copy link
Collaborator

@bmdalex bmdalex left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Copy link
Collaborator

@bmdalex bmdalex left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 looks good to me, pls add CHANGELOG entry before merge and couple of examples if you feel it's valuable

@jurokapsiar jurokapsiar merged commit 310ea66 into master Apr 1, 2019
@delete-merged-branch delete-merged-branch bot deleted the acc/alert-behavior branch April 1, 2019 15:16
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants