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

added ariaRole input to modals. made confirm modal alertdialog. Added aria-modal=true to modals #1784

Merged
merged 22 commits into from
Jul 30, 2018

Conversation

blackbaud-conorwright
Copy link
Contributor

@blackbaud-conorwright blackbaud-conorwright commented Jun 29, 2018

Added ariaRole parameter to modals and made the value for the confirm component 'alertdialog'
added aria-modal="true" to modals

Resolves: #1404 and #1403

@blackbaud-conorwright blackbaud-conorwright changed the title added ariaRole input to modals. made confirm modal alertdialog added ariaRole input to modals. made confirm modal alertdialog. Added aria-modal=true to modals Jun 29, 2018
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.

We should probably adjust the Error modal component's role to alertdialog (similar to Confirm component):
https://github.com/blackbaud/skyux2/blob/master/src/modules/error/error-modal-form.component.html#L1

@codecov-io
Copy link

codecov-io commented Jul 3, 2018

Codecov Report

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

Impacted file tree graph

@@          Coverage Diff           @@
##           master   #1784   +/-   ##
======================================
  Coverage     100%    100%           
======================================
  Files         412     412           
  Lines        8610    8614    +4     
  Branches     1271    1272    +1     
======================================
+ Hits         8610    8614    +4
Impacted Files Coverage Δ
src/modules/modal/modal-configuration.ts 100% <ø> (ø) ⬆️
src/modules/modal/modal.component.ts 100% <100%> (ø) ⬆️
src/modules/error/error-modal.service.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 01e1b69...b301849. Read the comment docs.

@blackbaud-conorwright
Copy link
Contributor Author

Updated error component too

@Blackbaud-SteveBrush Blackbaud-SteveBrush self-assigned this Jul 17, 2018
@blackbaud-johnly
Copy link
Contributor

Created #1841 to document ariaRole property.

@Blackbaud-SteveBrush Blackbaud-SteveBrush merged commit 5fff5cd into master Jul 30, 2018
@Blackbaud-SteveBrush Blackbaud-SteveBrush deleted the fix-confirm-modal-role-wrong branch July 30, 2018 16:22
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.

4 participants