Skip to content

Commit

Permalink
Update: Remove _ariaLevel override property (fixes #287) (#288)
Browse files Browse the repository at this point in the history
* remove schema _ariaLevel override property

* remove README _ariaLevel override
  • Loading branch information
kirsty-hames committed Nov 13, 2023
1 parent 63a02f7 commit 4abbf3c
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 18 deletions.
3 changes: 0 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,9 +115,6 @@ Enter a percentage value (0-100) that this item should be from the left border o
#### title (string):
This is the title text for the hot spot's pop-up.

#### \_ariaLevel (number):
ARIA level to assign to the popup title. If not set, it will default to using the value assigned to `_notify` in the `_accessibility` section of config.json.

#### body (string):
This is the main text for a hot spot pop-up.

Expand Down
9 changes: 0 additions & 9 deletions properties.schema
Original file line number Diff line number Diff line change
Expand Up @@ -208,15 +208,6 @@
"help": "Title displayed in the popup",
"translatable": true
},
"_ariaLevel": {
"type": "number",
"required": true,
"default": 0,
"title": "Title level",
"inputType": "Number",
"validators": ["required", "number"],
"help": "ARIA level to assign to the popup title. Leave set to 0 to default to the Notify ARIA level (set via the Accessibility section of the course configuration)."
},
"body": {
"type": "string",
"required": true,
Expand Down
6 changes: 0 additions & 6 deletions schema/component.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -146,12 +146,6 @@
"translatable": true
}
},
"_ariaLevel": {
"type": "number",
"title": "Title ARIA level",
"description": "ARIA level to assign to the popup title. Leave set to 0 to default to the Notify ARIA level (set via the Accessibility section of the course configuration)",
"default": 0
},
"body": {
"type": "string",
"title": "Body",
Expand Down

0 comments on commit 4abbf3c

Please sign in to comment.