Skip to content

Commit e4e8c85

Browse files
khiga8lindseywild
andauthored
Update docs/rules/accessibility/no-title-attribute-counter.md
Co-authored-by: Lindsey Wild <[email protected]>
1 parent fa7ddfe commit e4e8c85

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/rules/accessibility/no-title-attribute-counter.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ The `title` attribute is commonly seen set on links, matching the link text. Thi
88

99
If you are considering `title` attribute to provide supplementary description, consider whether the text in question can be persisted in the design. Alternatively, if it's important to display supplementary text that is hidden by default, consider using an **accessible** tooltip implementation that uses the `aria-labelledby` or `aria-describedby` semantics. Even so, proceed with caution: tooltips should only be used on interactive elements like links or buttons.
1010

11-
### Should I use `title` attribute to provide accessible name for `<svg>`?
11+
### Should I use the `title` attribute to provide an accessible name for an `<svg>`?
1212

1313
Use a `<title>` element instead of the `title` attribute, or an `aria-label`.
1414

0 commit comments

Comments
 (0)