@factorialco/f0-react 3.2.2 → 3.2.4

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.
@@ -41179,6 +41179,15 @@ const EK = ({
41179
41179
  content: a?.content || "",
41180
41180
  editable: !g,
41181
41181
  onUpdate: K,
41182
+ // Give the contenteditable an explicit textbox role and an accessible name;
41183
+ // without this the editor is unnamed for screen readers and role+name queries.
41184
+ editorProps: {
41185
+ attributes: {
41186
+ role: "textbox",
41187
+ "aria-multiline": "true",
41188
+ "aria-label": d
41189
+ }
41190
+ },
41182
41191
  // Children subscribe to the editor state they need via useEditorState;
41183
41192
  // re-rendering the whole editor tree on every transaction is wasteful.
41184
41193
  shouldRerenderOnTransaction: !1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@factorialco/f0-react",
3
- "version": "3.2.2",
3
+ "version": "3.2.4",
4
4
  "private": false,
5
5
  "files": [
6
6
  "assets",