mirror of
https://github.com/primer/css.git
synced 2024-11-28 22:01:43 +03:00
Merge pull request #168 from jdan/aria-label
Removed note about `aria-label` requiring a <button> or <a> element
This commit is contained in:
commit
6243976122
@ -16,7 +16,7 @@ In addition, you'll want to specify a direction:
|
||||
- `.tooltipped-w`
|
||||
- `.tooltipped-nw`
|
||||
|
||||
Remember, `aria-label` and tooltip classes must go directly on `<button>` and `<a>` elements. Tooltip classes also conflict with Octicon classes, and as such, must go on a parent element instead of the icon.
|
||||
Tooltip classes will conflict with Octicon classes, and as such, must go on a parent element instead of the icon.
|
||||
|
||||
{% example html %}
|
||||
<span class="tooltipped tooltipped-n" aria-label="This is the tooltip.">
|
||||
|
Loading…
Reference in New Issue
Block a user