@beehexa/design-rules 2611.3.3 → 2611.5.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.
Files changed (171) hide show
  1. package/README.md +1 -1
  2. package/dist/AGENTS.md +1 -7
  3. package/dist/catalog.json +703 -321
  4. package/dist/docs/public/_redirects +2 -0
  5. package/dist/docs/scripts/color-pairs.mjs +5 -1
  6. package/dist/docs/scripts/token-utils.d.mts +5 -1
  7. package/dist/docs/scripts/token-utils.mjs +44 -4
  8. package/dist/docs/src/brand/structure-proposal.md +1 -1
  9. package/dist/docs/src/components/ColorDemo.astro +56 -18
  10. package/dist/docs/src/components/ElevationDemo.astro +196 -0
  11. package/dist/docs/src/components/LayoutDemo.astro +1 -1
  12. package/dist/docs/src/components/MotionDemo.astro +135 -0
  13. package/dist/docs/src/components/NativeControlsDemo.astro +279 -0
  14. package/dist/docs/src/components/OpacityDemo.astro +95 -0
  15. package/dist/docs/src/components/RoleGuides.astro +2 -2
  16. package/dist/docs/src/components/ShapeDemo.astro +88 -44
  17. package/dist/docs/src/components/ShapePin.astro +5 -3
  18. package/dist/docs/src/components/SiteHeader.astro +19 -4
  19. package/dist/docs/src/components/SystemAreas.astro +1 -1
  20. package/dist/docs/src/components/TokenTable.astro +16 -1
  21. package/dist/docs/src/components/TypeDemo.astro +15 -15
  22. package/dist/docs/src/components/ZIndexDemo.astro +102 -0
  23. package/dist/docs/src/components/logos/LogoInUse.astro +3 -3
  24. package/dist/docs/src/content/components/button/accessibility.mdx +41 -8
  25. package/dist/docs/src/content/components/button/code.mdx +8 -1
  26. package/dist/docs/src/content/components/button/examples.mdx +23 -4
  27. package/dist/docs/src/content/components/button/usage.mdx +26 -0
  28. package/dist/docs/src/content/components/resizable-panel/accessibility.mdx +61 -0
  29. package/dist/docs/src/content/components/resizable-panel/changelog.mdx +20 -0
  30. package/dist/docs/src/content/components/resizable-panel/code.mdx +79 -0
  31. package/dist/docs/src/content/components/resizable-panel/examples.mdx +85 -0
  32. package/dist/docs/src/content/components/resizable-panel/meta.json +5 -0
  33. package/dist/docs/src/content/components/resizable-panel/usage.mdx +101 -0
  34. package/dist/docs/src/content/foundations/guidelines/accessibility/keyboard-and-focus.mdx +75 -0
  35. package/dist/docs/src/content/foundations/guidelines/accessibility/statement.mdx +45 -0
  36. package/dist/docs/src/content/foundations/guidelines/accessibility/testing.mdx +58 -0
  37. package/dist/docs/src/content/foundations/guidelines/accessibility.mdx +100 -11
  38. package/dist/docs/src/content/foundations/guidelines/content.mdx +11 -2
  39. package/dist/docs/src/content/foundations/index.mdx +3 -3
  40. package/dist/docs/src/content/foundations/styles/border.mdx +13 -6
  41. package/dist/docs/src/content/foundations/styles/color/accessibility.mdx +4 -2
  42. package/dist/docs/src/content/foundations/styles/color/dark-mode.mdx +2 -2
  43. package/dist/docs/src/content/foundations/styles/color/index.mdx +14 -2
  44. package/dist/docs/src/content/foundations/styles/color/palette.mdx +4 -4
  45. package/dist/docs/src/content/foundations/styles/color/tokens.mdx +2 -2
  46. package/dist/docs/src/content/foundations/styles/color/usage.mdx +34 -5
  47. package/dist/docs/src/content/foundations/styles/data-visualization.mdx +150 -6
  48. package/dist/docs/src/content/foundations/styles/elevation.mdx +72 -3
  49. package/dist/docs/src/content/foundations/styles/icons/accessibility.mdx +1 -1
  50. package/dist/docs/src/content/foundations/styles/icons/code.mdx +6 -18
  51. package/dist/docs/src/content/foundations/styles/icons/index.mdx +2 -2
  52. package/dist/docs/src/content/foundations/styles/icons/usage.mdx +13 -8
  53. package/dist/docs/src/content/foundations/styles/interaction-states.mdx +82 -9
  54. package/dist/docs/src/content/foundations/styles/layout/app-frame.mdx +12 -4
  55. package/dist/docs/src/content/foundations/styles/layout/breakpoints.mdx +10 -7
  56. package/dist/docs/src/content/foundations/styles/layout/grid.mdx +4 -2
  57. package/dist/docs/src/content/foundations/styles/layout/index.mdx +3 -3
  58. package/dist/docs/src/content/foundations/styles/layout/overlays.mdx +28 -37
  59. package/dist/docs/src/content/foundations/styles/layout/page-widths.mdx +4 -4
  60. package/dist/docs/src/content/foundations/styles/logos/downloads-and-terms.mdx +7 -7
  61. package/dist/docs/src/content/foundations/styles/logos/index.mdx +13 -2
  62. package/dist/docs/src/content/foundations/styles/logos/placement-and-containers.mdx +4 -2
  63. package/dist/docs/src/content/foundations/styles/logos/product-logos.mdx +2 -2
  64. package/dist/docs/src/content/foundations/styles/logos/using-the-logo.mdx +3 -1
  65. package/dist/docs/src/content/foundations/styles/motion.mdx +131 -3
  66. package/dist/docs/src/content/foundations/styles/opacity.mdx +49 -5
  67. package/dist/docs/src/content/foundations/styles/radius.mdx +63 -15
  68. package/dist/docs/src/content/foundations/styles/scrollbars.mdx +176 -0
  69. package/dist/docs/src/content/foundations/styles/size-and-density.mdx +23 -6
  70. package/dist/docs/src/content/foundations/styles/spacing.mdx +17 -3
  71. package/dist/docs/src/content/foundations/styles/typography/code.mdx +5 -3
  72. package/dist/docs/src/content/foundations/styles/typography/index.mdx +13 -3
  73. package/dist/docs/src/content/foundations/styles/typography/usage.mdx +5 -3
  74. package/dist/docs/src/content/foundations/styles/typography/vietnamese.mdx +2 -2
  75. package/dist/docs/src/content/foundations/styles/z-index.mdx +67 -5
  76. package/dist/docs/src/content/foundations/tokens/all-tokens.mdx +11 -0
  77. package/dist/docs/src/content/foundations/tokens/index.mdx +17 -9
  78. package/dist/docs/src/content/get-started/design.mdx +1 -1
  79. package/dist/docs/src/content/get-started/develop.mdx +2 -6
  80. package/dist/docs/src/content/get-started/index.mdx +1 -1
  81. package/dist/docs/src/content/release-phases/index.mdx +1 -1
  82. package/dist/docs/src/content/tools/ant-design-vue-theme.mdx +571 -19
  83. package/dist/docs/src/content/tools/application-content.mdx +176 -0
  84. package/dist/docs/src/content/tools/editors.mdx +271 -0
  85. package/dist/docs/src/content/tools/eslint.mdx +1 -1
  86. package/dist/docs/src/content/tools/index.mdx +2 -2
  87. package/dist/docs/src/content/tools/mermaid.mdx +190 -0
  88. package/dist/docs/src/content/tools/vueflow.mdx +179 -0
  89. package/dist/docs/src/content-vi/foundations/guidelines/accessibility/keyboard-and-focus.mdx +75 -0
  90. package/dist/docs/src/content-vi/foundations/guidelines/accessibility/statement.mdx +45 -0
  91. package/dist/docs/src/content-vi/foundations/guidelines/accessibility/testing.mdx +58 -0
  92. package/dist/docs/src/content-vi/foundations/guidelines/accessibility.mdx +108 -0
  93. package/dist/docs/src/content-vi/foundations/guidelines/content.mdx +34 -0
  94. package/dist/docs/src/content-vi/foundations/index.mdx +9 -0
  95. package/dist/docs/src/content-vi/foundations/styles/border.mdx +12 -6
  96. package/dist/docs/src/content-vi/foundations/styles/color/accessibility.mdx +4 -2
  97. package/dist/docs/src/content-vi/foundations/styles/color/dark-mode.mdx +2 -2
  98. package/dist/docs/src/content-vi/foundations/styles/color/index.mdx +14 -2
  99. package/dist/docs/src/content-vi/foundations/styles/color/palette.mdx +5 -5
  100. package/dist/docs/src/content-vi/foundations/styles/color/tokens.mdx +2 -2
  101. package/dist/docs/src/content-vi/foundations/styles/color/usage.mdx +34 -5
  102. package/dist/docs/src/content-vi/foundations/styles/data-visualization.mdx +75 -6
  103. package/dist/docs/src/content-vi/foundations/styles/elevation.mdx +81 -0
  104. package/dist/docs/src/content-vi/foundations/styles/icons/accessibility.mdx +1 -1
  105. package/dist/docs/src/content-vi/foundations/styles/icons/code.mdx +6 -18
  106. package/dist/docs/src/content-vi/foundations/styles/icons/index.mdx +2 -2
  107. package/dist/docs/src/content-vi/foundations/styles/icons/usage.mdx +13 -8
  108. package/dist/docs/src/content-vi/foundations/styles/interaction-states.mdx +22 -8
  109. package/dist/docs/src/content-vi/foundations/styles/layout/app-frame.mdx +13 -1
  110. package/dist/docs/src/content-vi/foundations/styles/layout/breakpoints.mdx +10 -7
  111. package/dist/docs/src/content-vi/foundations/styles/layout/grid.mdx +4 -2
  112. package/dist/docs/src/content-vi/foundations/styles/layout/index.mdx +3 -3
  113. package/dist/docs/src/content-vi/foundations/styles/layout/overlays.mdx +36 -0
  114. package/dist/docs/src/content-vi/foundations/styles/layout/page-widths.mdx +5 -1
  115. package/dist/docs/src/content-vi/foundations/styles/logos/downloads-and-terms.mdx +7 -7
  116. package/dist/docs/src/content-vi/foundations/styles/logos/index.mdx +13 -2
  117. package/dist/docs/src/content-vi/foundations/styles/logos/placement-and-containers.mdx +4 -2
  118. package/dist/docs/src/content-vi/foundations/styles/logos/product-logos.mdx +2 -2
  119. package/dist/docs/src/content-vi/foundations/styles/logos/using-the-logo.mdx +3 -1
  120. package/dist/docs/src/content-vi/foundations/styles/motion.mdx +139 -0
  121. package/dist/docs/src/content-vi/foundations/styles/opacity.mdx +49 -5
  122. package/dist/docs/src/content-vi/foundations/styles/radius.mdx +63 -15
  123. package/dist/docs/src/content-vi/foundations/styles/size-and-density.mdx +23 -6
  124. package/dist/docs/src/content-vi/foundations/styles/spacing.mdx +17 -3
  125. package/dist/docs/src/content-vi/foundations/styles/typography/code.mdx +5 -3
  126. package/dist/docs/src/content-vi/foundations/styles/typography/index.mdx +14 -4
  127. package/dist/docs/src/content-vi/foundations/styles/typography/usage.mdx +4 -2
  128. package/dist/docs/src/content-vi/foundations/styles/typography/vietnamese.mdx +2 -2
  129. package/dist/docs/src/content-vi/foundations/styles/z-index.mdx +67 -5
  130. package/dist/docs/src/content-vi/foundations/tokens/all-tokens.mdx +47 -0
  131. package/dist/docs/src/content-vi/foundations/tokens/index.mdx +35 -0
  132. package/dist/docs/src/lib/i18n.ts +0 -1
  133. package/dist/docs/src/lib/token-descriptions-vi.ts +81 -14
  134. package/dist/docs/src/lib/tokens.ts +3 -0
  135. package/dist/docs/src/styles/chrome.css +21 -14
  136. package/dist/docs/src/styles/color.css +50 -53
  137. package/dist/docs/src/styles/docs.css +37 -55
  138. package/dist/docs/src/styles/elevation.css +83 -0
  139. package/dist/docs/src/styles/global.css +21 -10
  140. package/dist/docs/src/styles/icons.css +20 -23
  141. package/dist/docs/src/styles/kit.css +116 -0
  142. package/dist/docs/src/styles/layout.css +8 -13
  143. package/dist/docs/src/styles/motion.css +34 -0
  144. package/dist/docs/src/styles/opacity.css +43 -0
  145. package/dist/docs/src/styles/scrollbars.css +74 -0
  146. package/dist/docs/src/styles/shapes.css +35 -29
  147. package/dist/docs/src/styles/tokens.css +1663 -4
  148. package/dist/docs/src/styles/tokens.js +538 -4
  149. package/dist/docs/src/styles/typography.css +8 -11
  150. package/dist/docs/src/styles/zindex.css +59 -0
  151. package/dist/docs/tokens/border.json +1 -1
  152. package/dist/docs/tokens/color.json +75 -4
  153. package/dist/docs/tokens/content.json +24 -0
  154. package/dist/docs/tokens/diagram.json +54 -0
  155. package/dist/docs/tokens/editor.json +129 -0
  156. package/dist/docs/tokens/elevation.json +15 -5
  157. package/dist/docs/tokens/flow.json +497 -0
  158. package/dist/docs/tokens/layout.json +4 -0
  159. package/dist/docs/tokens/motion.json +37 -5
  160. package/dist/docs/tokens/opacity.json +9 -0
  161. package/dist/docs/tokens/radius.json +52 -8
  162. package/dist/docs/tokens/resize.json +79 -0
  163. package/dist/docs/tokens/scrollbar.json +40 -0
  164. package/dist/docs/tokens/size.json +7 -1
  165. package/dist/docs/tokens/spacing.json +35 -5
  166. package/dist/docs/tokens/switch.json +280 -0
  167. package/dist/docs/tokens/typography.json +5 -0
  168. package/dist/docs/tokens/visualization.json +123 -0
  169. package/dist/docs/tokens/z-index.json +49 -0
  170. package/dist/index.js +703 -321
  171. package/package.json +1 -1
@@ -1,18 +1,51 @@
1
1
  ---
2
+ description: How Button meets WCAG 2.2 AA, its keys, what it gives you and what your team does.
2
3
  ---
3
4
 
5
+ ## Conformance
6
+
7
+ **Button meets WCAG 2.2 level AA when used as described on this page.** It follows the [Button pattern](https://www.w3.org/WAI/ARIA/apg/patterns/button/) of the WAI-ARIA Authoring Practices.
8
+
4
9
  ## Keyboard
5
10
 
6
11
  | Key | Action |
7
12
  | --- | --- |
8
- | <kbd>Tab</kbd> | Moves focus to the button. |
13
+ | <kbd>Tab</kbd> | Moves focus to the button. Disabled buttons are skipped. |
9
14
  | <kbd>Enter</kbd> or <kbd>Space</kbd> | Activates the button. |
10
15
 
11
- ## Requirements
16
+ ## What Button gives you
17
+
18
+ - A native `<button>` element with `type="button"`, so it has the role, keyboard behaviour and focus of a button.
19
+ - A 2 px focus ring in `color.border.focus`, 2 px away from the button (`border.width.focused`, `state.focus.offset`).
20
+ - Heights of 24, 32 and 40 px, all at least the 24 × 24 px target; on touch screens the tap area grows to 44 × 44 px (`size.target.touch`).
21
+ - Text and background that meet 4.5:1 in every state except disabled, in light and dark.
22
+ - A disabled state that is removed from the tab order and announced as unavailable.
23
+
24
+ ## What your team does
25
+
26
+ - **Name it.** Start the label with a verb: "Sync orders", not "OK". An icon-only button needs an `aria-label` that says the action, such as "Delete store".
27
+ - **Use a link to go somewhere.** A button does something; a link goes to a page.
28
+ - **Say what happened.** When a button shows that it is busy, announce the result when it finishes, for example with a toast or a live region: "Orders synced".
29
+ - **Avoid disabling.** A disabled button cannot explain why. Prefer keeping it active and showing what is missing when it is pressed.
30
+ - **Toggle buttons** set `aria-pressed="true"` or `"false"`, or change their label, such as "Pause" and "Play".
31
+
32
+ ## WCAG criteria
33
+
34
+ | Criterion | Level | How Button meets it |
35
+ | --- | --- | --- |
36
+ | 1.4.3 Contrast (Minimum) | AA | Label meets 4.5:1 in every enabled state |
37
+ | 1.4.11 Non-text Contrast | AA | Edges and the focus ring meet 3:1 |
38
+ | 2.1.1 Keyboard | A | Native button: Tab, Enter and Space |
39
+ | 2.4.7 Focus Visible | AA | 2 px focus ring on `:focus-visible` |
40
+ | 2.5.3 Label in Name | A | The accessible name is the visible label |
41
+ | 2.5.8 Target Size (Minimum) | AA | Every height is at least 24 px |
42
+ | 4.1.2 Name, Role, Value | A | Native button role; name from the label or `aria-label` |
43
+
44
+ ## Checks
12
45
 
13
- - Use a native `<button>` element. Ant Design Vue renders one.
14
- - Icon-only buttons need an `aria-label`.
15
- - Focus is shown with a 2 px ring in `color.border.focus`, 2 px away from the button (`border.width.focused`, `state.focus.offset`).
16
- - The target is at least 24 × 24px (WCAG 2.5.8).
17
- - Text and background meet 4.5:1 contrast in every state except disabled.
18
- - When `loading` is set, announce the result of the action when it finishes.
46
+ | Check | Status | Date |
47
+ | --- | --- | --- |
48
+ | Automated (axe, WCAG 2.2 AA), light and dark | Passed | 4 Nov 2026 |
49
+ | Keyboard | Passed | 4 Nov 2026 |
50
+ | Touch target, phone screen size | Passed | 4 Nov 2026 |
51
+ | Screen readers (NVDA, VoiceOver) | Planned | |
@@ -21,7 +21,14 @@ Buttons come from Ant Design Vue. Apply the [Beehexa theme](/tools/ant-design-vu
21
21
 
22
22
  | Prop | Values | Notes |
23
23
  | --- | --- | --- |
24
- | `type` | `default`, `primary`, `link`, `text` | Use `primary` once per screen. |
24
+ | `type` | `default`, `primary`, `dashed`, `link`, `text` | Use `primary` once per screen; preserve each variant's role. |
25
25
  | `danger` | `boolean` | For destructive actions. |
26
+ | `ghost` | `boolean` | Transparent outlined native variant; use the appropriate host/foreground pair, not solid-primary label overrides. |
26
27
  | `loading` | `boolean` | Shows a spinner and blocks repeat clicks. |
27
28
  | `disabled` | `boolean` | Prefer explaining why an action is unavailable. |
29
+ | `size` | `small`, `middle`, `large` | Share the adjacent native field's size. |
30
+ | `#icon` | Vue slot | Use the native slot for Lucide or AntD icons; do not add a local margin. |
31
+
32
+ For a compact bordered utility trigger, omit `type` or use `default`. Text Buttons
33
+ remain frameless. Give an icon-only Button an accessible name and keep actual
34
+ Dropdown/Menu open state, Escape and focus restoration in the feature.
@@ -1,21 +1,40 @@
1
1
  ---
2
2
  ---
3
3
  import CodeExample from '../../../components/CodeExample.astro';
4
+ import NativeControlsDemo from '../../../components/NativeControlsDemo.astro';
5
+
6
+ ## Live native control family
7
+
8
+ <NativeControlsDemo />
9
+
10
+ Real AntD components with the public source theme and CSS. Change the site's theme
11
+ or language to inspect the family; keyboard focus, Dropdown, search, selection,
12
+ clear filters and action details use real native behavior. The bordered language
13
+ and icon-only utility controls share page-control geometry; account actions remain
14
+ frameless deliberately.
15
+
16
+ The state matrix uses actual native default/primary/dashed/link/text/danger/
17
+ ghost Buttons, native loading/disabled props, all three native sizes and a
18
+ disabled native anchor. The activation counter exercises native blocking
19
+ behavior; hover, pressed and keyboard focus are real interactions, not painted
20
+ facsimiles. A dark primary is deliberately light; its resting lower shadow is
21
+ not blue. The same live demo includes [read-only segmented Progress](/tools/ant-design-vue-theme/#read-only-segmented-native-progress)
22
+ with editable real count, first/middle/final states and a native opt-out.
4
23
 
5
24
  ## Default
6
25
 
7
- <CodeExample code={`<button class="bh-button" type="button">Cancel</button>`} />
26
+ <CodeExample lang="vue" code={`<a-button>Cancel</a-button>`} />
8
27
 
9
28
  ## Primary
10
29
 
11
30
  Use one primary button for the main action on a screen.
12
31
 
13
- <CodeExample code={`<button class="bh-button bh-button-primary" type="button">Save changes</button>`} />
32
+ <CodeExample lang="vue" code={`<a-button type="primary">Save changes</a-button>`} />
14
33
 
15
34
  ## Danger
16
35
 
17
- <CodeExample code={`<button class="bh-button bh-button-danger" type="button">Delete integration</button>`} />
36
+ <CodeExample lang="vue" code={`<a-button danger>Delete integration</a-button>`} />
18
37
 
19
38
  ## Disabled
20
39
 
21
- <CodeExample code={`<button class="bh-button bh-button-primary" type="button" disabled>Save changes</button>`} />
40
+ <CodeExample lang="vue" code={`<a-button type="primary" disabled>Save changes</a-button>`} />
@@ -16,3 +16,29 @@
16
16
  - Start the label with a verb and keep it short: "Sync orders".
17
17
  - Put the primary button last in a group, on the right.
18
18
  - Ask for confirmation before destructive actions.
19
+
20
+ ## One control family, role-based variants
21
+
22
+ - Language/theme utilities use native bordered `type="default"` Buttons at the
23
+ same size as page Button/Input/Select controls. No shell-specific skin.
24
+ - Account/avatar menus may legitimately use frameless `type="text"`; native Space
25
+ centers the Avatar and text. Do not globally turn text Buttons into default.
26
+ - Put icons in `#icon`, labels in one child, and name icon-only actions. The source
27
+ adapter supplies one scalable icon/text gap for AntD and external SVG icons.
28
+ - Small/default/large controls are24/32/40px at the nominal16px root; control
29
+ corners are radius050 (4px). Menu frames also050; Select popup remains100.
30
+ - Preserve hover/pressed/focus/disabled/loading and actual Dropdown open semantics.
31
+ `data-bh-target="responsive"` adds44px minimums only on coarse pointers.
32
+ - A light primary background with dark text in dark mode is the intentional
33
+ neutral-bold/inverse pair. Link actions keep their own link palette.
34
+ - A blue lower stripe on an unfocused primary Button is not a legitimate
35
+ variant. The source adapter removes native resting outline shadows while
36
+ retaining the separate gapped keyboard focus ring.
37
+ - Danger primary uses on-bold text; outlined/frameless danger uses readable
38
+ danger text. A primary danger `ghost` Button must not inherit the solid label.
39
+
40
+ The [native adapter contract](/tools/ant-design-vue-theme/#one-native-control-family-distinct-roles)
41
+ owns token aliases and framework state gaps. Use its live matrix rather than
42
+ copying a consumer shadow reset or repainting all variants alike.
43
+
44
+
@@ -0,0 +1,61 @@
1
+ ---
2
+ description: Keyboard, pointer, touch and assistive-technology behavior for resizable panes.
3
+ ---
4
+
5
+ ## Separator semantics
6
+
7
+ The source component owns the focusable `role="separator"`. Consumers provide a
8
+ translated, contextual `separatorLabel` such as “Resize source and preview”. Do
9
+ not put another focusable drag handle inside it or replace its name with a glyph.
10
+ The source supplies unique SSR-safe pane IDs, `aria-controls` for the first pane,
11
+ and percentage value/min/max attributes. `aria-orientation` describes the
12
+ **separator line**: vertical for horizontal left/right panes, horizontal for
13
+ vertical top/bottom panes.
14
+
15
+ Hidden-second and fixed-bound layouts have no visible/reachable separator. Hidden
16
+ second content is display-hidden and inert but remains mounted. Real endpoint
17
+ collapse requires `min=0`; collapsed content remains mounted and overflow-clipped,
18
+ but is inert and omitted from the accessibility tree. Tab/Shift+Tab must skip its
19
+ retained controls. Restoring the pane restores their ordinary native focusability,
20
+ without replacing the controls or their local state.
21
+
22
+ ## Keyboard alternative to dragging
23
+
24
+ - Left/Right move the separator in a horizontal left/right split.
25
+ - Up/Down move it in a vertical top/bottom split.
26
+ - Arrow moves are 1 percentage point; Shift+Arrow moves are 10.
27
+ - Home and End select the current lower and upper bounds.
28
+ - Enter resets the split to its initial ratio, constrained by the current bounds.
29
+ Double-click offers the same reset for a pointer, without bubbling into a pane.
30
+ - Key repeats form one resize lifecycle; releasing a supported key or leaving the
31
+ separator ends it. Unrelated shortcuts are not consumed.
32
+
33
+ The reset point is captured when the component is created. Later model updates,
34
+ container changes and responsive direction changes do not redefine it. A visible
35
+ token-backed focus ring stays on the handle. Use the same layout in keyboard,
36
+ pointer and touch modes; do not leave disabled controls accepting gestures.
37
+
38
+ ## Pointer and touch
39
+
40
+ A thin source-token divider is not the hit target. The target spans the cross
41
+ axis, grows from `resize.target` to `resize.touchTarget` for coarse pointers, and
42
+ uses `touch-action: none` only on the gesture surface. Pointer capture and a local
43
+ shield above the panes avoid editor/iframe interception; gesture-scoped selection
44
+ prevention avoids selecting pane content. Other controls and the document do not
45
+ receive permanent cursor/selection overrides.
46
+
47
+ Pointer up, pointer cancel, lost capture, window blur, hidden/locked constraints
48
+ and direction changes terminate the gesture. Cancellation retains the last valid
49
+ ratio. Unmount removes capture, document/window listeners, observations and
50
+ pending layout work. Each instance owns its own state.
51
+
52
+ ## Contrast, motion and reading preferences
53
+
54
+ The handle remains above independently clipped panes in both axes. The line is
55
+ centered at 90% length by default, and the handle is at the midpoint, not at an
56
+ edge that can disappear beneath a pane. Active/focus paint uses source resize
57
+ roles and light/dark token values; forced-colors mode retains a system-color
58
+ border/focus indicator. Reader rem scaling affects token-sized targets/handles.
59
+ No resize transition animates under reduced motion (or during ordinary dragging).
60
+ Locale changes update the consumer-provided label without reconstructing child
61
+ editors, models or zoom state.
@@ -0,0 +1,20 @@
1
+ ---
2
+ description: Source implementation history for the Vue resizable panel.
3
+ ---
4
+
5
+ ## Source implementation
6
+
7
+ - Added the real `@beehexa/vue-components` Vue 3 `ResizablePanel`, independent of Ant Design Vue.
8
+ - Added bounded two-axis layouts, reactive ratio/constraints/visibility, and retained slot instances.
9
+ - Add explicit `preserveMinimum` document-access mode: preserve the configured pane minima plus the real interaction gutter when page chrome exhausts the allocation; keep default bounded relaxation and retained children unchanged.
10
+ - Make pane wrappers shrinkable column flex containers so bounded Cards, Monaco and canvases fill instead of collapsing to their intrinsic height.
11
+ - Added a centered 90% divider line with a visible locally layered midpoint handle in both axes.
12
+ - Reserved a real token-sized gutter in both axes; pane ratio/pixel bounds and pointer coordinates exclude it, and coarse-pointer targets no longer cover pane scrollbars.
13
+ - Replaced the repeating grip paint with exactly three source-token circular dots, with symmetric ink geometry centered inside the unchanged handle in both orientations and at reader scales.
14
+ - Let nested fixed overlays share their actual overlay owner's stack instead of trapping them beneath an outer sibling separator. Keep root/pane stacking contexts only during an active pointer gesture for the local iframe shield.
15
+ - Added typed, after-layout resize measurements for pointer, keyboard, container and programmatic changes.
16
+ - Added pointer capture/cancellation, iframe shielding, keyboard bounds/reset, accessible separator values, and cleanup.
17
+ - Keep real endpoint-collapsed panes inert and outside the accessibility tree while preserving their mounted controls/state; keyboard traversal resumes normally when the pane is restored.
18
+ - Added source-token light/dark, reader scaling, coarse-pointer targets, reduced motion and forced-colors support.
19
+
20
+ This describes the authored implementation, not a registry publication or release approval.
@@ -0,0 +1,79 @@
1
+ ---
2
+ description: Typed Vue exports, complete props and measured resize lifecycle.
3
+ ---
4
+
5
+ ## Imports
6
+
7
+ ```ts
8
+ import {
9
+ ResizablePanel,
10
+ type ResizablePanelDirection,
11
+ type ResizablePanelResizeEvent,
12
+ } from '@beehexa/vue-components';
13
+ import '@beehexa/vue-components/css';
14
+ ```
15
+
16
+ Vue 3.5+ is a peer; `@beehexa/design-tokens` is the only package dependency.
17
+ The CSS export is typed for strict side-effect imports and includes source-token
18
+ CSS. The component uses a TypeScript render function, so consuming its built ESM
19
+ does not require an SFC compiler or Ant Design Vue. Use the actual local package
20
+ reference until an authorized registry release exists; source `0.0.0` is private,
21
+ not a published version claim.
22
+
23
+ ## Props and slots
24
+
25
+ | Prop | Type | Default | Contract |
26
+ | --- | --- | --- | --- |
27
+ | `direction` | `'horizontal'` or `'vertical'` | `'horizontal'` | Left/right or top/bottom panes. Consumer owns breakpoints. |
28
+ | `ratio` | `number` | `0.5` | Requested first-pane fraction; `v-model:ratio`. |
29
+ | `min` | `number` | `100` | CSS-pixel minimum for each pane; use `0` for endpoint collapse. |
30
+ | `max` | `number` | `Infinity` | First-pane CSS-pixel maximum. |
31
+ | `preserveMinimum` | `boolean` | `false` | Explicit document-access mode: retain the existing per-pane `min` plus the physical gutter along the active axis. The ancestor must provide real overflow access; ordinary bounded panes still relax minima. |
32
+ | `minRatio` | `number` | `0` | Lower first-pane fraction in `[0, 1]`. |
33
+ | `maxRatio` | `number` | `1` | Upper first-pane fraction in `[0, 1]`. |
34
+ | `secondVisible` | `boolean` | `true` | Hide/inert second pane without unmounting it; first fills host and ratio restores on show. |
35
+ | `resizerSize` | `string` | `'90%'` | Reactive CSS length/percentage for visible divider-line cross-axis length, centered and capped at host length. |
36
+ | `separatorLabel` | `string` | `'Resize panels'` | Consumer-localized accessible name. |
37
+
38
+ `#first` and `#second` supply the two retained pane subtrees. The component owns
39
+ no heading, editor model, chart zoom, application locale or fullscreen state.
40
+
41
+ Pixel minima relax equally when the host cannot fit both; explicit maximums win
42
+ incompatible minima. Equal live bounds disable interaction while retaining the
43
+ physical gutter; equal endpoint bounds also hide it. Live constraints cancel
44
+ active gestures without unmounting either pane.
45
+ Temporary host constraints clamp layout without replacing the requested model
46
+ ratio. Enter/double-click resets to the ratio captured at initial construction,
47
+ within current constraints; programmatic changes do not redefine that reset point.
48
+
49
+ ## Events and types
50
+
51
+ ```ts
52
+ type ResizablePanelDirection = 'horizontal' | 'vertical';
53
+ interface ResizablePanelResizeEvent {
54
+ ratio: number;
55
+ direction: ResizablePanelDirection;
56
+ first: { width: number; height: number };
57
+ second: { width: number; height: number };
58
+ source: 'pointer' | 'keyboard' | 'container' | 'programmatic';
59
+ }
60
+ ```
61
+
62
+ | Event | Payload | When |
63
+ | --- | --- | --- |
64
+ | `update:ratio` | `number` | Pointer/keyboard changes request a bounded first-pane fraction. |
65
+ | `resize-start` | `ResizablePanelResizeEvent` | Pointer starts, supported keyboard gesture starts, or explicit reset starts. |
66
+ | `resize` | `ResizablePanelResizeEvent` | Interactive ratio change; initial/container measurement; external model, direction, visibility or constraint change. |
67
+ | `resize-end` | `ResizablePanelResizeEvent` | Up/cancel/lost capture/blur, keyboard keyup/focus loss, reset completion, or gesture termination by live prop changes. |
68
+
69
+ Measured events run after Vue updates the DOM and the next animation frame. Width
70
+ and height come from each pane's actual rendered rectangle. A hidden second pane
71
+ reports zero; `ratio` remains the effective split fraction for restoration.
72
+ Movement events coalesce per frame without reordering start/end. A normal parent
73
+ `v-model` echo does not relabel the user's event as programmatic. Container and
74
+ programmatic changes emit `resize` without fabricated interactive start/end.
75
+
76
+ Use these dimensions to relayout a retained editor/chart/workflow host, not to
77
+ change its key, model, zoom or mount state. The ResizeObserver and all gesture
78
+ listeners/capture/animation work clean up on unmount. SSR import/render is safe;
79
+ layout observation starts on mount and pane IDs use Vue's SSR-safe `useId`.
@@ -0,0 +1,85 @@
1
+ ---
2
+ description: Bounded source/preview and responsive split-pane integration.
3
+ ---
4
+
5
+ ## Retained source and preview
6
+
7
+ Import the source CSS once. Supply a bounded parent and keep the slot components
8
+ mounted; the panel handles clipping, visibility and resize mechanics.
9
+
10
+ ```vue
11
+ <script setup lang="ts">
12
+ import { ref } from 'vue';
13
+ import { ResizablePanel, type ResizablePanelResizeEvent } from '@beehexa/vue-components';
14
+ import '@beehexa/vue-components/css';
15
+
16
+ const ratio = ref(0.62);
17
+ const previewVisible = ref(true);
18
+ const sourceHost = ref<HTMLElement>();
19
+ const previewHost = ref<HTMLElement>();
20
+ const paneSizes = ref<ResizablePanelResizeEvent>();
21
+ function resized(event: ResizablePanelResizeEvent) {
22
+ paneSizes.value = event;
23
+ }
24
+ </script>
25
+
26
+ <template>
27
+ <div style="height: 32rem; min-height: 0; min-width: 0">
28
+ <ResizablePanel
29
+ v-model:ratio="ratio"
30
+ :second-visible="previewVisible"
31
+ :min="0"
32
+ separator-label="Resize source and preview"
33
+ @resize="resized"
34
+ >
35
+ <template #first><div ref="sourceHost" style="height: 100%; min-height: 0" /></template>
36
+ <template #second><div ref="previewHost" style="height: 100%; min-height: 0" /></template>
37
+ </ResizablePanel>
38
+ </div>
39
+ </template>
40
+ ```
41
+
42
+ Attach retained editor/canvas instances to the two hosts. React to `paneSizes`
43
+ with the renderer's native layout API; preserve its existing model and zoom. Do
44
+ not replace a host or remount a model merely to react to a width/height change.
45
+ With `min=0`, Home/End can really collapse a pane while retaining its instance.
46
+ Enter or divider double-click restores the initial 0.62 ratio within live bounds.
47
+
48
+ ## Responsive direction and translated naming
49
+
50
+ The application already owns breakpoint and locale state. Derive the direction
51
+ from that existing state; do not key the panel or its children on it.
52
+
53
+ ```vue
54
+ <ResizablePanel
55
+ v-model:ratio="ratio"
56
+ :direction="isMobile ? 'vertical' : 'horizontal'"
57
+ :separator-label="t('resizeSourceAndPreview')"
58
+ :min="100"
59
+ resizer-size="90%"
60
+ @resize="onPaneResize"
61
+ >
62
+ <template #first><SourceEditor /></template>
63
+ <template #second><WorkflowPreview /></template>
64
+ </ResizablePanel>
65
+ ```
66
+
67
+ `isMobile`, `t`, retained editor/preview components and the native relayout callback
68
+ belong to the consumer. The library imposes neither an app breakpoint nor a
69
+ translation singleton. Theme changes use source CSS variables live.
70
+
71
+ Both examples reserve a physical source-token gutter between the panes. In the
72
+ responsive example, verify three centered vertical dots before the axis change
73
+ and three centered horizontal dots afterward. The handle and hitbox sizes do not
74
+ change to fake centering; root-font scaling scales dot diameter and spacing
75
+ together, with equal margins around the complete ink cluster.
76
+
77
+
78
+ ## Fixed/fullscreen retained panes
79
+
80
+ For a first-only fullscreen surface, use `min=0` and equal ratio bounds of `1`;
81
+ for a second-only surface, use equal bounds of `0`. This hides/disables the
82
+ separator without moving or unmounting slot children. Restoring ordinary bounds
83
+ restores the requested split. If the requirement is simply a temporarily hidden
84
+ second pane, use `secondVisible` instead. The component adds no fullscreen or
85
+ modal chrome; preserve native parent fullscreen/overlay behavior.
@@ -0,0 +1,5 @@
1
+ {
2
+ "title": "Resizable panel",
3
+ "description": "Two bounded, state-preserving Vue panes with an accessible pointer, touch and keyboard separator.",
4
+ "group": "Layout"
5
+ }
@@ -0,0 +1,101 @@
1
+ ---
2
+ description: Active guidance for source-owned, state-preserving split panes.
3
+ ---
4
+
5
+ ## Ownership and when to use
6
+
7
+ `ResizablePanel` comes from `@beehexa/vue-components`, owned by beehexa.design.
8
+ It is an implemented Vue 3 component, not an Ant Design Vue recipe or a
9
+ consumer-owned splitter. Its only runtime dependency is the source design-token
10
+ package; Vue 3.5+ is a peer. Use it for source/preview editors, diagram/workflow
11
+ panes, comparison surfaces and genuinely resizable drawer composition. Use native
12
+ layout primitives for ordinary static layout; do not make the app navigation
13
+ resizable.
14
+
15
+ ## Bounded layout
16
+
17
+ Give the component a definite available height and width. Surrounding flex/grid
18
+ items must permit shrinkage with `min-width: 0` and `min-height: 0`; do not derive a
19
+ new container height from Monaco's content or a Mermaid SVG's intrinsic height.
20
+ The two panes plus the source-token divider gutter sum to the host's available
21
+ space. The gutter is a real in-flow sibling, not a hitbox over a pane scrollbar.
22
+ The handle fits inside that gutter, clear of clipped pane content and scroll targets.
23
+ At rest neither the root nor panes create a stacking context: nested fixed Monaco,
24
+ workflow or inspection overlays participate in their actual parent's overlay stack,
25
+ above the outer separator. Do not add permanent pane `z-index` or root isolation to
26
+ raise the handle; they trap a nested fullscreen below its sibling divider.
27
+ The pane wrappers are shrinkable column flex containers: a fill-layout Card,
28
+ editor or canvas can flex into the complete pane. Do not replace that flow with
29
+ intrinsic content sizing or add a second scroll owner around a bounded child.
30
+
31
+ `horizontal` means left/right panes; `vertical` means top/bottom panes. The
32
+ consumer selects direction using its existing breakpoint rules. There is no
33
+ hardcoded app breakpoint inside the library. Keep the same component and slot
34
+ children when direction changes on mobile, when fullscreen opens, or when a pane
35
+ is hidden.
36
+
37
+ ## Preserve state
38
+
39
+ Bind the first-pane fraction of **pane space excluding the gutter** with `v-model:ratio`. `secondVisible=false` fills the
40
+ host with the first pane and hides/inerts the second without unmounting it. Showing
41
+ it restores the retained requested ratio. Zero-size panes also stay mounted:
42
+ use `min=0` when true edge collapse is intended. Do not key models, editors,
43
+ canvases or the panel on ratio, direction, visibility or resize-event dimensions.
44
+ Do not reset model contents, zoom or fullscreen merely to force measurement.
45
+ The focused separator owns its keys even while the pointer remains over a
46
+ native Workflow Canvas. Its existing native element carries the SDK's documented
47
+ `.nokey` opt-out; the marker is not placed on either pane or the panel root, so
48
+ graph navigation remains active inside the canvas. Do not intercept document
49
+ events, disable the graph keymap or add a consumer DOM patch to arbitrate them.
50
+
51
+
52
+ `min` reserves CSS pixels for each pane, `max` caps the first pane, and
53
+ `minRatio`/`maxRatio` constrain its fraction. Pixel minima and maxima are calculated
54
+ after reserving the actual gutter, including reader/coarse-pointer scaling. If
55
+ the host cannot fit both pixel minima, those minima relax symmetrically rather
56
+ than causing overflow. Explicit maximums win incompatible minima. Temporary
57
+ constraints preserve the requested ratio. Equal effective bounds disable resizing
58
+ but retain the gutter; equal endpoint bounds additionally remove the gutter for
59
+ a retained fullscreen pane (`min=0`). Hiding the second pane also removes it.
60
+
61
+ For a full document page whose intrinsic heading can exhaust the available
62
+ height, `preserveMinimum` keeps the existing `min` allocation for each visible
63
+ pane plus the uncapped source interaction gutter along the active axis. The
64
+ ancestor document scroller must expose the resulting overflow. Hiding the second
65
+ pane retains only one minimum; direction changes move the constraint to the
66
+ other axis without remounting children. The default remains bounded, symmetric
67
+ minimum relaxation. This is not a readable-renderer minimum and must not force
68
+ mobile panes to the SDK surface's 350px-equivalent allocation.
69
+
70
+
71
+ ## Divider, theme and feedback
72
+
73
+ The default visible divider line is centered at 90% cross-axis length, leaving 5%
74
+ at each end. Its handle stays centered at 50%, above both panes. The physical gutter
75
+ uses `resize.target` / `resize.touchTarget` and contains the complete pointer hit
76
+ region, keeping it off pane scrollbars. `resizerSize` changes only the visible line.
77
+ The handle contains **exactly three circular dots**, equally spaced and symmetric
78
+ about its own center on both axes: vertical for left/right panes, horizontal for
79
+ top/bottom panes. `resize.dot.size` and `resize.dot.pitch` own fixed ink geometry;
80
+ no repeating gradient, cropped remainder or consumer offset determines the count.
81
+
82
+ `resize.*` owns line/grip/background/active paint and handle geometry. Source
83
+ border and spacing tokens own focus and grip details. Import the package's typed
84
+ CSS entry once; it includes design-token CSS. Light/dark changes follow the
85
+ source root theme live, and rem-based geometry respects reader scaling. No
86
+ arbitrary AntD selector, body cursor or global high-z overlay is added. Only an active
87
+ pointer gesture temporarily isolates the root and panes beneath its local drag shield,
88
+ keeping editor/iframe content from intercepting that gesture. Gesture termination
89
+ removes the shield and its stacking contexts. Geometry never animates.
90
+
91
+ ## Resize consumers
92
+
93
+ Listen to `resize` for measured pane dimensions **after layout**. Use those
94
+ measurements to ask retained Monaco/Mermaid/workflow instances to update their
95
+ layout. The payload contains ratio, direction, first/second width and height, and
96
+ `pointer`, `keyboard`, `container` or `programmatic` source. A hidden second pane
97
+ reports zero dimensions while the split ratio is retained. Interactive gestures
98
+ also emit `resize-start` and `resize-end`; container/programmatic updates do not
99
+ invent interactive lifecycles. See [Code](/components/resizable-panel/code/) for
100
+ the complete contract and [Accessibility](/components/resizable-panel/accessibility/)
101
+ for keyboard and naming requirements.
@@ -0,0 +1,75 @@
1
+ ---
2
+ title: Keyboard and focus
3
+ description: Many people never use a mouse. How focus moves through a screen, how the focus ring looks, and which keys each kind of control uses.
4
+ order: 1
5
+ audience: Designers, developers
6
+ updated: 2026-11-04
7
+ ---
8
+
9
+ Many people never touch a mouse: people who use a screen reader, people with a tremor or a broken wrist, and people who work faster with shortcuts. For them, the keyboard is the whole interface.
10
+
11
+ ## Focus order
12
+
13
+ **Focus moves in the order people read: top to bottom, start to end of each line.**
14
+
15
+ - In designs, number the Tab stops, so the build follows the same order.
16
+ - Keep the DOM order the same as the visual order. Do not fix the order with a positive `tabindex`.
17
+ - Start every page with a "Skip to content" link that jumps past the header and side navigation.
18
+ - Only things people can act on take focus. Use `tabindex="0"` on a custom control or a scrollable region, never on text or headings.
19
+ - A region that scrolls sideways, such as a wide table, takes focus so people can scroll it with the arrow keys. Give it a name with `aria-label`.
20
+
21
+ ## The focus ring
22
+
23
+ **Keyboard focus is always visible: a 2 px ring, 2 px away from the element.**
24
+
25
+ | Part | Token | Value |
26
+ | --- | --- | --- |
27
+ | Colour | `color.border.focus` | Blue, at least 3:1 against the page in light and dark |
28
+ | Width | `border.width.focused` | 2 px |
29
+ | Gap | `state.focus.offset` | 2 px |
30
+
31
+ - Show the ring on `:focus-visible`, so a mouse click does not draw it but the keyboard always does.
32
+ - Never remove the outline without putting the same ring back.
33
+ - The ring is never yellow: the brand yellow is too light on white to be seen.
34
+ - A sticky header, drawer or toast must not cover the element that has focus. Leave room with `scroll-padding-top`.
35
+
36
+ ## Moving focus
37
+
38
+ **When something opens, focus goes into it. When it closes, focus goes back to what opened it.**
39
+
40
+ | When | Focus goes to | When it closes |
41
+ | --- | --- | --- |
42
+ | A dialog opens | The first field, or the dialog's heading if it has no field | Back to the button that opened it |
43
+ | A drawer or menu opens | The first item | Back to the button that opened it |
44
+ | A toast appears | Stays where it is; the toast is announced | Nothing moves |
45
+ | An item is deleted from a list | The next item, or the list's heading if it was the last | |
46
+ | A page loads after a form is sent | The page heading, or the first error | |
47
+
48
+ - A dialog keeps focus inside it until it closes. Escape closes it.
49
+ - Never let focus fall back to the top of the page. If the element that had focus disappears, move focus to the nearest one that makes sense.
50
+
51
+ ## Keys for each kind of control
52
+
53
+ Beehexa components follow the [WAI-ARIA Authoring Practices](https://www.w3.org/WAI/ARIA/apg/patterns/), the W3C guide to how each kind of control behaves with a keyboard and a screen reader. A group of controls, such as tabs or a menu, is one Tab stop; the arrow keys move inside it.
54
+
55
+ | Pattern | Keys | Pattern page |
56
+ | --- | --- | --- |
57
+ | Button | <kbd>Enter</kbd> or <kbd>Space</kbd> activates | [Button](https://www.w3.org/WAI/ARIA/apg/patterns/button/) |
58
+ | Link | <kbd>Enter</kbd> follows | [Link](https://www.w3.org/WAI/ARIA/apg/patterns/link/) |
59
+ | Checkbox, switch | <kbd>Space</kbd> toggles | [Checkbox](https://www.w3.org/WAI/ARIA/apg/patterns/checkbox/), [Switch](https://www.w3.org/WAI/ARIA/apg/patterns/switch/) |
60
+ | Radio group | Arrow keys move and select; Tab leaves the group | [Radio group](https://www.w3.org/WAI/ARIA/apg/patterns/radio/) |
61
+ | Tabs | Left and Right move between tabs; Home and End jump to the first and last | [Tabs](https://www.w3.org/WAI/ARIA/apg/patterns/tabs/) |
62
+ | Menu | Up and Down move; Enter chooses; Escape closes | [Menu button](https://www.w3.org/WAI/ARIA/apg/patterns/menu-button/) |
63
+ | Select, combobox | Up and Down move through options; Enter chooses; Escape closes the list, then clears | [Combobox](https://www.w3.org/WAI/ARIA/apg/patterns/combobox/) |
64
+ | Dialog | Tab cycles inside; Escape closes | [Dialog](https://www.w3.org/WAI/ARIA/apg/patterns/dialog-modal/) |
65
+ | Disclosure, accordion | <kbd>Enter</kbd> or <kbd>Space</kbd> opens and closes | [Disclosure](https://www.w3.org/WAI/ARIA/apg/patterns/disclosure/), [Accordion](https://www.w3.org/WAI/ARIA/apg/patterns/accordion/) |
66
+ | Data table | Tab reaches the controls inside rows; a sortable header is a button | [Table](https://www.w3.org/WAI/ARIA/apg/patterns/table/) |
67
+
68
+ Each component's Accessibility tab, such as [Button](/components/button/accessibility/), lists its exact keys and any difference from its pattern.
69
+
70
+ ## Shortcuts
71
+
72
+ - Every shortcut has another way to do the same thing, such as a button or a menu item.
73
+ - Use <kbd>Ctrl</kbd> or <kbd>⌘</kbd> with a letter. A single-letter shortcut must be possible to turn off or remap (WCAG 2.1.4).
74
+ - Do not take over keys that browsers and screen readers use, such as <kbd>Ctrl</kbd> <kbd>F</kbd> or the arrow keys outside a widget.
75
+ - Show shortcuts in tooltips and menus, so people learn them.
@@ -0,0 +1,45 @@
1
+ ---
2
+ title: Accessibility statement
3
+ description: The standard Beehexa builds to, how it is checked, the issues we know about and how to tell us about a problem.
4
+ order: 3
5
+ sidebarLabel: Statement
6
+ audience: Everyone
7
+ updated: 2026-11-04
8
+ ---
9
+
10
+ This statement covers beehexa.design and the Beehexa components documented on it. It was last reviewed on 4 November 2026.
11
+
12
+ Beehexa wants everyone to be able to use this site and the products built with it, whatever their abilities and however they work: with a keyboard, a screen reader, magnification or voice control.
13
+
14
+ ## Standard
15
+
16
+ This site and the Beehexa components are built to **WCAG 2.2 level AA**, with the stricter Beehexa rules for contrast, focus, touch targets and motion listed in [Accessibility](/foundations/guidelines/accessibility/#beehexa-rules). Beehexa products build on these components and aim for the same level; each product team is responsible for its own screens.
17
+
18
+ Anything on this site that does not meet this standard is listed under [Known issues](#known-issues).
19
+
20
+ WCAG 2.2 AA also covers the web requirements of other standards customers often ask about:
21
+
22
+ | Standard | Where it applies | How it relates |
23
+ | --- | --- | --- |
24
+ | EN 301 549 V4.1.1 | European Union, including the European Accessibility Act | Its web and software requirements follow WCAG 2.2 AA, plus a few extra clauses such as respecting user settings |
25
+ | [Section 508](https://www.section508.gov/) | United States federal purchasing | Follows WCAG 2.0 AA, which WCAG 2.2 AA includes |
26
+
27
+ This table explains how the standards relate. It is not a claim of conformance to EN 301 549 or Section 508; the conformance report is.
28
+
29
+ ## How we check
30
+
31
+ - **Every build** checks every text, icon and border colour pair for contrast in light and dark. A pair that fails stops the build.
32
+ - **Every change** to a page or a component is checked with axe, with the keyboard, at 200% zoom and at 320 px wide before it is published.
33
+ - **Every major release** is tested with NVDA, JAWS, VoiceOver and TalkBack, as listed in [Testing](/foundations/guidelines/accessibility/testing/#screen-readers-and-browsers).
34
+
35
+ ## Known issues
36
+
37
+ | Area | Issue | Status |
38
+ | --- | --- | --- |
39
+ | Vietnamese pages | Pages without a Vietnamese text show the English text, marked as English for screen readers. | In progress |
40
+ | Conformance report | The first accessibility conformance report (ACR), in the VPAT® format, will cover this site and Button and will be published on this page. | Planned |
41
+ | Screen readers | This site and Button have not been tested with NVDA, JAWS, VoiceOver or TalkBack. | Planned |
42
+
43
+ ## Feedback
44
+
45
+ If anything on this site or in a component is hard to use with a keyboard, a screen reader, zoom or any other way you work, we want to know. Write to [hello@beehexa.com](mailto:hello@beehexa.com?subject=Accessibility%20feedback). Say which page or component, what you tried and what happened. Confirmed problems are added to the known issues above.