You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Docs] "Show Component Code" Button is Read Twice by Screen Reader #696
The better solution of course would be, if we could just use <EuiButton href=".."> here, but no idea if react-router allows us to calculate that required href attribute.
changed the title [-]"Show Component Code" Button is Read Twice by Screen Reader[/-][+][Docs] "Show Component Code" Button is Read Twice by Screen Reader[/+]on Mar 18, 2020
Activity
timroes commentedon May 7, 2018
The actual root cause here, is that we nest link into button elements (https://github.com/elastic/eui/blob/master/src-docs/src/components/guide_page/guide_page.js#L28). That should not happen. If we need
<Link>from react-router here, I think the only viable solution is, give it theclassNameattribute and use the same classes as theEuiButton.The better solution of course would be, if we could just use
<EuiButton href="..">here, but no idea if react-router allows us to calculate that requiredhrefattribute.[-]"Show Component Code" Button is Read Twice by Screen Reader[/-][+][Docs] "Show Component Code" Button is Read Twice by Screen Reader[/+]