Commit b5a5c71
committed
Ensure tabListSlot is display block if its the role=tablist
By default tabListSlot is `display:contents` which can cause a couple of
issues:
1. Some browsers don't expose role information for elements that are
display:contents, and so this makes an inaccessible component.
2. Depending on how the tabs are styled, they can end up in weird
orientations due to the tablist having no layout. Making it have a
layout with display:block fixes this.1 parent 7d5ed41 commit b5a5c71
1 file changed
Lines changed: 5 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
186 | 186 | | |
187 | 187 | | |
188 | 188 | | |
| 189 | + | |
189 | 190 | | |
190 | 191 | | |
191 | | - | |
| 192 | + | |
192 | 193 | | |
193 | | - | |
194 | | - | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
195 | 197 | | |
196 | 198 | | |
197 | 199 | | |
| |||
0 commit comments