Skip to content

Commit

Permalink
Update test.html
Browse files Browse the repository at this point in the history
  • Loading branch information
nuxodin committed Mar 21, 2023
1 parent 4e5a4a0 commit b00d196
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions tests/test.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,15 @@ <h2>u1-focusgroup</h2>
</section>

<section>
<h2>u1-focusgroup="wrap"</h2>

<div style="display:flex; gap:1rem" u1-focusgroup="wrap">
<h2>u1-focusgroup="wrap remember"</h2>
<p>
<strong>Wrap:</strong> If the last element has focus the next will be the first element.
</p>
<p>
<strong>Remember:</strong> If you come back to the group the last focused element will be focused. (The others can not be focused by tab-key.)
</p>

<div style="display:flex; gap:1rem" u1-focusgroup="wrap remember">
<label>1. <input type="checkbox"></label>
<label>2. <input type="checkbox"></label>
<label>3. <input type="checkbox"></label>
Expand Down

0 comments on commit b00d196

Please sign in to comment.