Skip to content

Commit

Permalink
update accessibility examples
Browse files Browse the repository at this point in the history
  • Loading branch information
tugcekucukoglu committed Jun 29, 2022
1 parent ad504a3 commit 306c3f2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion components/doc/inputtext/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@ import { InputText } from 'primereact/inputtext';
<InputText id="firstname" />
<span id="lastname">Lastname</span>
<InputText id="firstname" aria-labelledby="lastname" />
<InputText aria-labelledby="lastname" />
<InputText aria-label="Age"/>
`}
Expand Down
2 changes: 1 addition & 1 deletion components/doc/inputtextarea/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ import { InputTextarea } from 'primereact/inputtextarea';
<InputTextarea id="address1" />
<span id="address2">Address 2</span>
<InputTextarea id="address2" aria-labelledby="address2" />
<InputTextarea aria-labelledby="address2" />
<InputTextarea aria-label="Address Details"/>
`}
Expand Down
2 changes: 1 addition & 1 deletion components/doc/password/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,7 @@ import { Password } from 'primereact/password';
<label htmlFor="pwd1">Password</label>
<Password id="pwd1" />
<span id="pwd1">Password</span>
<span id="pwd2">Password</span>
<Password aria-labelledby="pwd2" />
<Password aria-label="Password"/>
Expand Down

0 comments on commit 306c3f2

Please sign in to comment.