Skip to content

Commit

Permalink
fix(v2): add title attribute to anchor link
Browse files Browse the repository at this point in the history
  • Loading branch information
lex111 authored Nov 28, 2019
1 parent 25207df commit 4dcaa4d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const Heading = Tag => ({id, ...props}) => {
return (
<Tag {...props}>
<a aria-hidden="true" tabIndex="-1" className="anchor" id={id} />
<a aria-hidden="true" tabIndex="-1" className="hash-link" href={`#${id}`}>
<a aria-hidden="true" tabIndex="-1" className="hash-link" href={`#${id}`} title="Direct link to section">
#
</a>
{props.children}
Expand Down

0 comments on commit 4dcaa4d

Please sign in to comment.