Skip to content

Commit

Permalink
add altText property to schema
Browse files Browse the repository at this point in the history
  • Loading branch information
kirsty-hames authored Oct 25, 2023
1 parent 1eccc1a commit 1b4734a
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions schema/component.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,14 @@
"translatable": true
}
},
"altText": {
"type": "string",
"description": "This will be read out by screen readers instead of reading 'text'. Optional for providing alternative text, for example, to specify how a word should be pronounced.",
"default": "",
"_adapt": {
"translatable": true
}
},
"_shouldBeSelected": {
"type": "boolean",
"title": "Mark this option as correct",
Expand Down

0 comments on commit 1b4734a

Please sign in to comment.