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

fix(dropdown): cleanup add and remove a11y messages #1237

Merged
merged 7 commits into from
Apr 24, 2019

Conversation

silviuaavram
Copy link
Collaborator

@silviuaavram silviuaavram commented Apr 18, 2019

Clear the text added in the aria live container, so that virtual cursor will not read it afterwards.

Works only for the text that is added on add and on remove, in multiple selection cases. Should fix our issue for now. The other status text is generated by Downshift, will need to fix it as well in the future.

@codecov
Copy link

codecov bot commented Apr 18, 2019

Codecov Report

Merging #1237 into master will increase coverage by 0.34%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1237      +/-   ##
==========================================
+ Coverage   71.57%   71.91%   +0.34%     
==========================================
  Files         731      731              
  Lines        5583     5591       +8     
  Branches     1634     1612      -22     
==========================================
+ Hits         3996     4021      +25     
+ Misses       1582     1565      -17     
  Partials        5        5
Impacted Files Coverage Δ
...ackages/react/src/components/Dropdown/Dropdown.tsx 74.85% <100%> (+4.54%) ⬆️
...t/src/components/Dropdown/DropdownSelectedItem.tsx 61.53% <0%> (+15.38%) ⬆️

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 c955f39...0f36d4a. Read the comment docs.

@silviuaavram silviuaavram force-pushed the fix-cleanup-add-remove-a11y-message branch from 231f4fb to 598ebb7 Compare April 23, 2019 06:42
@silviuaavram silviuaavram force-pushed the fix-cleanup-add-remove-a11y-message branch from 598ebb7 to 80e6e16 Compare April 23, 2019 13:09
@silviuaavram silviuaavram merged commit a43f4d7 into master Apr 24, 2019
@delete-merged-branch delete-merged-branch bot deleted the fix-cleanup-add-remove-a11y-message branch April 24, 2019 09:26
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

3 participants