Skip to content

Comments

Fix Screen Reader not announcing loading information when refreshing#2346

Merged
cRui861 merged 4 commits intomasterfrom
rechen/bug316
Jul 28, 2021
Merged

Fix Screen Reader not announcing loading information when refreshing#2346
cRui861 merged 4 commits intomasterfrom
rechen/bug316

Conversation

@cRui861
Copy link
Member

@cRui861 cRui861 commented Jul 1, 2021

Screen reader now announces loading information "Refresh in progress" while refreshing on Gallery page.

@cRui861 cRui861 changed the title Fixes Sev1 AB#316: Screen Reader not announcing loading information when refreshing Fixed Screen Reader not announcing loading information when refreshing Jul 1, 2021
@cRui861 cRui861 changed the title Fixed Screen Reader not announcing loading information when refreshing Fixes Screen Reader not announcing loading information when refreshing Jul 1, 2021
@cRui861 cRui861 changed the title Fixes Screen Reader not announcing loading information when refreshing Fix Screen Reader not announcing loading information when refreshing Jul 1, 2021
@codecov
Copy link

codecov bot commented Jul 1, 2021

Codecov Report

Merging #2346 (085b0df) into master (ad01876) will increase coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #2346   +/-   ##
=======================================
  Coverage   65.23%   65.23%           
=======================================
  Files         903      903           
  Lines       26023    26024    +1     
  Branches     5115     5115           
=======================================
+ Hits        16976    16977    +1     
  Misses       9047     9047           
Impacted Files Coverage Δ
...sk/ui/buttons/refresh-btn/refresh-btn.component.ts 81.08% <100.00%> (+0.52%) ⬆️

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 ad01876...085b0df. Read the comment docs.

@autobind()
public onClick() {
this.status = RefreshStatus.Refreshing;
this.liveAnnouncer.announce("Refreshing in progress");
Copy link
Member

Choose a reason for hiding this comment

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

Looks great, but can you make this a localized string? OK to also file a different issue to have that done at a later date.

@cRui861 cRui861 merged commit ca3a3ba into master Jul 28, 2021
@cRui861 cRui861 deleted the rechen/bug316 branch July 28, 2021 21:37
@cRui861
Copy link
Member Author

cRui861 commented Aug 5, 2021

Included in #2358

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.

2 participants