Skip to content

Commit

Permalink
Accessibility: Assign a title to an <input
Browse files Browse the repository at this point in the history
Solves an accessibility problem where the URL input has no label/
description.

To test, install axe devTools and scan the local Playground site.
  • Loading branch information
adamziel committed Oct 5, 2023
1 parent 1b9b540 commit aa55371
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ export default function AddressBar({ url, onUpdate }: AddressBarProps) {
onBlur={() => setIsFocused(false)}
name="url"
type="text"
title='URL to visit in the WordPress site, like"/wp-admin"'
autoComplete="off"
/>
</div>
Expand Down

0 comments on commit aa55371

Please sign in to comment.