Commit Graph

5555 Commits

Author SHA1 Message Date
Abbey Yacoe
343ed4364b chore: update a11y example for testing 2025-06-04 12:08:11 +02:00
Abbey Yacoe
d82ce31430 Merge branch 'main' of https://github.com/xyflow/xyflow into 5030-focus-nodes-when-user-selects-via-tab 2025-06-04 12:00:34 +02:00
Moritz Klack
3e6bcf51e3 Merge pull request #5277 from xyflow/a11y
feat(a11y): add static support for a11y message localization
2025-06-03 22:09:17 +02:00
moklick
406c09aeff chore(a11y): cleanup config keys 2025-06-03 22:08:04 +02:00
moklick
691dd7bf77 Merge branch 'main' into a11y 2025-06-03 21:00:56 +02:00
Moritz Klack
3377f2969c Merge pull request #5299 from xyflow/4264-accessibility-support-aria-pressed-attributes
feat: add `ariaRole` prop to nodes
2025-06-03 20:58:36 +02:00
Moritz Klack
d5dd91b920 Update dry-pianos-fail.md 2025-06-03 20:54:51 +02:00
Abbey Yacoe
e6fe3dcd47 chore: only pan focus when out of viewport 2025-06-03 16:55:24 +02:00
Abbey Yacoe
13b64afbaf chore: rename LabelConfig -> AriaLabelConfig, update dict names 2025-06-03 15:42:57 +02:00
Abbey Yacoe
c9838359a1 chore: remove null check 2025-06-03 15:21:02 +02:00
Abbey Yacoe
79db292c4d fix: move ariaRole 2025-06-03 15:13:32 +02:00
Abbey Yacoe
96eba257aa chore: use svelte and react types for AriaRole 2025-06-03 14:41:25 +02:00
moklick
65e912a755 chore(a11y): cleanup 2025-06-03 14:04:48 +02:00
moklick
1a3e293bf9 chore(changeset): cleanup 2025-06-03 13:40:42 +02:00
moklick
6543ddc31c chore(labelconfig): cleanup 2025-06-03 13:36:16 +02:00
Abbey Yacoe
416f533622 fix: update default value 2025-06-03 12:59:43 +02:00
Moritz Klack
220cb7f8a3 Merge branch 'main' into a11y 2025-06-03 12:54:44 +02:00
Moritz Klack
f876e87e78 Merge pull request #5297 from xyflow/chore/readme
chore: change readme maintainers section
2025-06-03 12:47:21 +02:00
Abbey Yacoe
9f82b15d58 chore: add roles to edges 2025-06-03 11:48:06 +02:00
printer_scanner
09fab67940 chore: create changeset 2025-06-02 16:05:55 +02:00
Abbey Yacoe
69ff043350 chore(onFocus): add disableKeyboardA11y 2025-06-02 16:04:00 +02:00
Abbey Yacoe
a488322c55 feat(onFocus): pan nodes into the viewport on tab 2025-06-02 16:00:42 +02:00
printer_scanner
848b486b22 Create dry-pianos-fail.md 2025-06-02 14:43:06 +02:00
Abbey Yacoe
679f8a9463 chore: add handle aria-label 2025-06-02 14:39:14 +02:00
Abbey Yacoe
cb3e80dc54 fix(EdgeLabel): fix a11y error in svelte 2025-06-02 14:35:44 +02:00
Abbey Yacoe
28b0430606 chore: set default role to group, add aria-roledescription 2025-06-02 13:19:27 +02:00
Abbey Yacoe
cdc08f1b54 chore: swap role for ariaRole, add svelte 2025-06-02 12:10:54 +02:00
Peter Kogo
3b36b7c8a6 Merge pull request #5271 from leejuyuu/minimize-inline-style
refactor(svelte): change a11y inline styles to classes
2025-06-02 11:51:01 +02:00
Christopher Möller
18d940f206 chore: change readme maintainers section 2025-05-27 14:35:18 +02:00
Moritz Klack
5c2d6f38fb Merge pull request #5294 from xyflow/fix/svelte-edge-data
Fix/svelte edge data
2025-05-27 09:12:23 +02:00
Moritz Klack
9b0d9d81c2 Merge pull request #5295 from xyflow/fix/export-svelte-types
Fix/export svelte types
2025-05-27 09:11:36 +02:00
Abbey Yacoe
ba9df8eaf8 feat: add role prop to nodes 2025-05-26 17:08:29 +02:00
peterkogo
93aefe71fb chore(changeset) 2025-05-26 16:38:23 +02:00
peterkogo
61e39363e3 export additional types 2025-05-26 16:37:44 +02:00
printer_scanner
f59730ce35 chore: add changeset 2025-05-26 12:12:46 +02:00
Abbey Yacoe
9641f2a0df chore: make labelConfig items required, update description text 2025-05-26 12:04:22 +02:00
peterkogo
4a582e2371 chore(changeset) 2025-05-26 10:20:38 +02:00
peterkogo
0920cc5139 fix EdgeProps data type 2025-05-26 10:19:59 +02:00
Abbey Yacoe
d444d2e948 fix: fix undefined linting error 2025-05-22 16:37:44 +02:00
Abbey Yacoe
b310586dfb fix: revert addition of as prop 2025-05-22 16:31:50 +02:00
Abbey Yacoe
1fb7a5c98a chore(a11y): add ariaLiveMessage to label config 2025-05-22 15:58:31 +02:00
Abbey Yacoe
21e25d698c feat(node): add as property to allow custom HTML elements 2025-05-22 15:04:20 +02:00
Abbey Yacoe
74929f09bc chore(controls): add custom aria labels 2025-05-22 12:36:36 +02:00
Abbey Yacoe
3c421d5f02 chore(Minimap): add custom aria label for SF and RF 2025-05-22 12:16:37 +02:00
Abbey Yacoe
48c5467851 chore(a11y): merge labelConfig with defaults 2025-05-22 11:38:02 +02:00
Abbey Yacoe
6081f687bf chore(a11y): add custom control labels Svelte 2025-05-21 16:56:35 +02:00
Abbey Yacoe
3858d3b08b chore(a11y): add controls to LabelConfig 2025-05-21 16:50:48 +02:00
Abbey Yacoe
91ecfe73cc chore(a11y): pass LabelConfig values through store SvelteFlow 2025-05-21 14:03:50 +02:00
Abbey Yacoe
54fc3c0717 chore(a11y): pass labelConfig state through store updater 2025-05-21 12:21:59 +02:00
Abbey Yacoe
ee8709b5fb chore: update LabelConfig name, add to store, create a11y example 2025-05-20 17:20:46 +02:00