Skip to content

Commit bd7761c

Browse files
committed
docs: include data attribute
1 parent c06c994 commit bd7761c

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

docs/content/docs/utilities/roving-focus.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,38 @@ Contains all the parts of a Roving Focus
4141

4242
<!-- @include: @/meta/RovingFocusGroup.md -->
4343

44+
<DataAttributesTable
45+
:data="[
46+
{
47+
attribute: '[data-orientation]',
48+
values: ['vertical', 'horizontal', undefined],
49+
},
50+
]"
51+
/>
52+
4453
### Item
4554

4655
The item that would inherit the roving tabindex
4756

4857
<!-- @include: @/meta/RovingFocusItem.md -->
4958

59+
<DataAttributesTable
60+
:data="[
61+
{
62+
attribute: '[data-active]',
63+
values: 'Present when not active',
64+
},
65+
{
66+
attribute: '[data-disabled]',
67+
values: 'Present when not focusable',
68+
},
69+
{
70+
attribute: '[data-orientation]',
71+
values: ['vertical', 'horizontal', undefined],
72+
},
73+
]"
74+
/>
75+
5076
## Examples
5177

5278
### Vertical orientation

0 commit comments

Comments
 (0)