-
Notifications
You must be signed in to change notification settings - Fork 65
added labels and ids to section form tabs #1798
added labels and ids to section form tabs #1798
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1798 +/- ##
========================================
Coverage ? 100%
========================================
Files ? 425
Lines ? 9122
Branches ? 1349
========================================
Hits ? 9122
Misses ? 0
Partials ? 0
Continue to review full report at Codecov.
|
@@ -1,14 +1,22 @@ | |||
<sky-vertical-tab | |||
<sky-vertical-tab | |||
role="tab" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we rethink how we're adding these attributes? In the sectioned form template, this works, but what if a consumer implements the vertical tab by itself? I'm assuming we'd want the same roles, etc. applied automatically?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure. I definitely see role="tab" being there, but then we would probably want them to set their own controls. Hmm, I'll switch these to being on the content of a verticaly tab and take them as input on it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Blackbaud-SteveBrush I've moved the attributes to be inputs on the vertical tab, including ID. Let me know what you think when you get the chance
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually, hold off. This is failing for a lying accessibility issue 😕
I'm currently trying to fix it
…m-tabs-missing-labels
Created #1840 to document the new properties. |
…m-tabs-missing-labels
@Blackbaud-SteveBrush Alright, I think I finally got this one. I also have the roles and labelled by gets/sets set up to be inputs if we want that on section-forms, but I'm not so sure we want that since we control those elements and will always ensure their association (contained within the component template) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Added missing aria labels and ids to section form tablist, tabs, and tabpanels
Resolves: #1375