Skip to content

Commit 91adf76

Browse files
authored
Typos.
1 parent c0b6136 commit 91adf76

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

AsusRouterA11yFixes.user.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@ function announce(text, regionId) {
2929
}
3030

3131
/**
32-
* create or fetch a live region that can be used with updateLiveRegion. Returns a promise with the region.
32+
* create or fetch a live region that can be used with announce(). Returns a promise with the region.
3333
* @param {string} id the name of the new live region. This is an html id.
34-
* @return {!Promise<HTMLElement>} a div that contains the live region. This can typically be ignored, this exxists to aid in chaining creation of non-existant regions.
34+
* @return {!Promise<HTMLElement>} a div that contains the live region. This can typically be ignored, this exists to aid in chaining creation of non-existant regions.
3535
*/
3636
function getLiveRegion(id) {
3737
const updatePromise = new Promise((resolve, reject) => {

framework/axSGreaseSkeleton.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ function announce(text, regionId) {
2727
}
2828

2929
/**
30-
* create or fetch a live region that can be used with updateLiveRegion. Returns a promise with the region.
30+
* create or fetch a live region that can be used with announce(). Returns a promise with the region.
3131
* @param {string} id the name of the new live region. This is an html id.
32-
* @return {!Promise<HTMLElement>} a div that contains the live region. This can typically be ignored, this exxists to aid in chaining creation of non-existant regions.
32+
* @return {!Promise<HTMLElement>} a div that contains the live region. This can typically be ignored, this exists to aid in chaining creation of non-existant regions.
3333
*/
3434
function getLiveRegion(id) {
3535
const updatePromise = new Promise((resolve, reject) => {

0 commit comments

Comments
 (0)