feat(steps): support w3c WAI-ARIA pattern #629
Annotations
2 errors
src/components/tabs/tests/tabs.test.ts > OTabs tests > OTab with OTabItem integration tests > test render correctly:
packages/oruga/src/components/tabs/tests/tabs.test.ts#L154
Error: Snapshot `OTabs tests > OTab with OTabItem integration tests > test render correctly 1` mismatched
- Expected
+ Received
@@ -1,10 +1,10 @@
"<div class="o-tabs o-tabs--default" data-oruga="tabs">
<div class="o-tabs__tablist" role="tablist" aria-orientation="horizontal">
<!--
@slot Additional slot before tabs
- --><button id="tab-1" class="o-tabs__tab o-tabs__tab--default o-tabs__tab--active" role="tab" aria-controls="tabpanel-1" aria-selected="true">
+ --><button id="tab-1" class="o-tabs__tab o-tabs__tab--default o-tabs__tab--active" role="tab" tabindex="0" aria-current="true" aria-controls="tabpanel-1" aria-selected="true">
<!--v-if--><span class="o-tabs__tab-label">Account</span>
</button>
<!--
@slot Additional slot after tabs
-->
❯ src/components/tabs/tests/tabs.test.ts:154:36
|
test
Process completed with exit code 1.
|