-
Notifications
You must be signed in to change notification settings - Fork 65
Added a11y attributes for text expand #1959
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1959 +/- ##
======================================
Coverage 100% 100%
======================================
Files 424 424
Lines 8975 8980 +5
Branches 1327 1328 +1
======================================
+ Hits 8975 8980 +5
Continue to review full report at Codecov.
|
@Blackbaud-TrevorBurch The buttons which expand/collapse the additional content look good. The ones which open modals have the same semantics though (i.e., aria-expands) which isn't correct. This attribute doesn't make sense for these as they don't expand/collapse. For the modals, you'll want to include the aria-haspopup="dialog" attribute instead and lose the aria-controls attribute. I also noticed that the text expand uses some variation of a special modal which isn't the exact modal component. It seems to be missing it's role="dialog" attribute which the regular modal has. It needs this added. thx. |
@Blackbaud-MattGregg I've added the As far as the modal, I verified running locally and the modal does have the |
src/modules/text-expand-repeater/text-expand-repeater.component.ts
Outdated
Show resolved
Hide resolved
@Blackbaud-TrevorBurch really nice test cleanup! It's McDonalds! |
Resolves #1564