Skip to content

Commit

Permalink
Fix: Update Schema for ariaQuestion (fixes #190) (#191)
Browse files Browse the repository at this point in the history
* Update component.schema.json

Update modern schema

* Update component.schema.json

Adjusted for correct usage of AAT UI elements.

* Update properties.schema

Updated to reflect correct usage of AAT UI elements.

* Update component.schema.json
  • Loading branch information
joe-replin authored Jan 16, 2023
1 parent 94ede67 commit 4f94da3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion properties.schema
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
"default": "",
"inputType": "Text",
"validators": [],
"help": "This will be read out by screen readers instead of reading the title, body & instruction fields when focusing on the options. To be clear and concise, ensure the text encompasses only the question associated.",
"help": "This will be read out by screen readers instead of reading the 'Display title', 'Body' & 'Instruction' fields when focusing on the options. To be clear and concise, ensure the text encompasses only the question associated.",
"translatable": true
},
"_items": {
Expand Down
3 changes: 2 additions & 1 deletion schema/component.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@
},
"ariaQuestion": {
"type": "string",
"title": "ariaQuestion",
"title": "ARIA question",
"description": "This will be read out by screen readers instead of reading the 'Display title', 'Body' & 'Instruction' fields when focusing on the options. To be clear and concise, ensure the text encompasses only the question associated.",
"default": "",
"_adapt": {
"translatable": true
Expand Down

0 comments on commit 4f94da3

Please sign in to comment.