Skip to content

Commit

Permalink
English corrections
Browse files Browse the repository at this point in the history
Just a small correction to the english grammar
  • Loading branch information
brianteeman committed Oct 7, 2018
1 parent 33a7138 commit 995c823
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions a11y-dialog.js
Expand Up @@ -176,14 +176,14 @@
this.dialog.removeAttribute('open');
this.container.setAttribute('aria-hidden', 'true');

// Iterate over the targets to enable them by remove their `aria-hidden`
// Iterate over the targets to enable them by removing their `aria-hidden`
// attribute
this._targets.forEach(function(target) {
target.removeAttribute('aria-hidden');
});
}

// If their was a focused element before the dialog was opened, restore the
// If there was a focused element before the dialog was opened, restore the
// focus back to it
if (focusedBeforeDialog) {
focusedBeforeDialog.focus();
Expand Down

0 comments on commit 995c823

Please sign in to comment.