Skip to content

Commit

Permalink
fix(tooltip): add aria-labelledby to tooltip (#1378)
Browse files Browse the repository at this point in the history
  • Loading branch information
dakahn authored and alisonjoseph committed Nov 2, 2018
1 parent 11ec2ed commit 1500792
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/tooltip/tooltip.hbs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<div class="bx--tooltip__label" aria-describedby="unique-tooltip">
<div id="tooltip-label" class="bx--tooltip__label" aria-describedby="unique-tooltip">
Tooltip label
<div tabindex="0" data-tooltip-trigger data-tooltip-target="#unique-tooltip" role="tooltip" class="bx--tooltip__trigger">
<div tabindex="0" aria-labelledby="tooltip-label" data-tooltip-trigger data-tooltip-target="#unique-tooltip" role="tooltip" class="bx--tooltip__trigger">
<svg width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg">
<g fill-rule="evenodd">
<path d="M8 14.5a6.5 6.5 0 1 0 0-13 6.5 6.5 0 0 0 0 13zM8 16A8 8 0 1 1 8 0a8 8 0 0 1 0 16z" fill-rule="nonzero" />
Expand Down

0 comments on commit 1500792

Please sign in to comment.