@half-built/astro 0.4.0 → 0.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -15,8 +15,11 @@ const { entries, class: className, label = "Palette" } = Astro.props;
|
|
|
15
15
|
---
|
|
16
16
|
{/* The scroll box is a tab stop with a name: below the column's width
|
|
17
17
|
the table scrolls sideways, and a scrolling region a keyboard cannot
|
|
18
|
-
reach fails WCAG 2.1.1 (axe scrollable-region-focusable).
|
|
19
|
-
<
|
|
18
|
+
reach fails WCAG 2.1.1 (axe scrollable-region-focusable). A named
|
|
19
|
+
<section> is the region landmark natively; a div with role=region
|
|
20
|
+
fails html-validate's prefer-native-element (the blog's gate caught
|
|
21
|
+
it at the 0.4.0 pin bump). */}
|
|
22
|
+
<section class:list={["table-scroll", className]} tabindex="0" aria-label={label}>
|
|
20
23
|
<table class="palette">
|
|
21
24
|
<thead>
|
|
22
25
|
<tr>
|
|
@@ -37,7 +40,7 @@ const { entries, class: className, label = "Palette" } = Astro.props;
|
|
|
37
40
|
))}
|
|
38
41
|
</tbody>
|
|
39
42
|
</table>
|
|
40
|
-
</
|
|
43
|
+
</section>
|
|
41
44
|
|
|
42
45
|
<style>
|
|
43
46
|
.palette-chip {
|