Skip to content
This repository has been archived by the owner on Dec 8, 2022. It is now read-only.

disabled aria-controls when the target has not been drawn #1968

Conversation

blackbaud-conorwright
Copy link
Contributor

@blackbaud-conorwright blackbaud-conorwright commented Sep 7, 2018

  • Removes the aria-controls attribute from inline filter buttons when the inline filters are not rendered.
  • Updates builder to 1.20.2

Fixes an accessibility issue where the inline filters are not expanded, but are referenced by the inline filter button in the aria-controls attribute.

@codecov-io
Copy link

codecov-io commented Sep 7, 2018

Codecov Report

Merging #1968 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@          Coverage Diff           @@
##           master   #1968   +/-   ##
======================================
  Coverage     100%    100%           
======================================
  Files         425     425           
  Lines        9139    9144    +5     
  Branches     1350    1352    +2     
======================================
+ Hits         9139    9144    +5
Impacted Files Coverage Δ
src/modules/list-toolbar/list-toolbar.component.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 51bdc66...b7b4035. Read the comment docs.

Copy link
Member

@Blackbaud-SteveBrush Blackbaud-SteveBrush left a comment

Choose a reason for hiding this comment

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

@blackbaud-conorwright Could we get a unit test to prove this works?

@blackbaud-conorwright
Copy link
Contributor Author

@Blackbaud-SteveBrush Sorry I wasn't finished yet. There was a unit test that checked it but didn't expect the result so I updated that. I also added a visual test with the inline filters expanded and not so that the accessibility testing will catch if it happens again

@blackbaud-conorwright blackbaud-conorwright merged commit 859f523 into master Sep 7, 2018
@blackbaud-conorwright blackbaud-conorwright deleted the fix-inline-filter-button-aria-controls-unexpanded branch September 7, 2018 18:55
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants