-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make focusable container logic opt in (#24)
* Only focus containers with class * Refactor tests * Update README * Make the focusable class work alone * Switch to attribute rather than class * Fix scrolling with keyboard Don't block overflow, only if it's a keypress
- Loading branch information
Showing
12 changed files
with
142 additions
and
262 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
<section style="width: 980px" id="section-1"> | ||
<a id="item-1" class="item" href=""> | ||
<h2>1</h2> | ||
</a> | ||
|
||
<a id="item-2" class="item" href=""> | ||
<h2>2</h2> | ||
</a> | ||
|
||
<a id="item-3" class="item" href=""> | ||
<h2>3</h2> | ||
</a> | ||
|
||
<a id="item-4" class="item" href=""> | ||
<h2>4</h2> | ||
</a> | ||
</section> | ||
|
||
<section style="width: 980px" id="section-2" data-lrud-consider-container-distance> | ||
<a id="item-6" class="item" href=""> | ||
<h2>6</h2> | ||
</a> | ||
</section> | ||
|
||
<section id="section-3"> | ||
<a id="item-7" class="item" href=""> | ||
<h2>7</h2> | ||
</a> | ||
|
||
<a id="item-8" class="item" href=""> | ||
<h2>8</h2> | ||
</a> | ||
|
||
<a id="item-9" class="item" href=""> | ||
<h2>9</h2> | ||
</a> | ||
|
||
<a id="item-10" class="item" href=""> | ||
<h2>10</h2> | ||
</a> | ||
</section> |
48 changes: 0 additions & 48 deletions
48
test/layouts/grid-with-one-item-non-prioritised-carousel-with-empty-space.html
This file was deleted.
Oops, something went wrong.
48 changes: 0 additions & 48 deletions
48
test/layouts/grid-with-one-item-non-prioritised-carousel-with-one-item.html
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.