Skip to content

Commit c93286c

Browse files
kyariklex111
authored andcommitted
Some fixes to the Accessibility guide (#2047)
Added missing code indentation; removed an extra "an" determiner in a sentence.
1 parent 6e79d08 commit c93286c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

content/docs/accessibility.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ This is typically implemented by attaching a `click` event to the `window` objec
248248

249249
```javascript{12-14,26-30}
250250
class OuterClickExample extends React.Component {
251-
constructor(props) {
251+
constructor(props) {
252252
super(props);
253253
254254
this.state = { isOpen: false };
@@ -299,7 +299,7 @@ This may work fine for users with pointer devices, such as a mouse, but operatin
299299

300300
<img src="../images/docs/outerclick-with-keyboard.gif" alt="A toggle button opening a popover list implemented with the click outside pattern and operated with the keyboard showing the popover not being closed on blur and it obscuring other screen elements." />
301301

302-
The same functionality can be achieved by using an appropriate event handlers instead, such as `onBlur` and `onFocus`:
302+
The same functionality can be achieved by using appropriate event handlers instead, such as `onBlur` and `onFocus`:
303303

304304
```javascript{19-29,31-34,37-38,40-41}
305305
class BlurExample extends React.Component {

0 commit comments

Comments
 (0)