mirror of
https://github.com/picocss/pico.git
synced 2025-04-20 08:45:06 -04:00
Update docs for role=button
This commit is contained in:
parent
270a128de4
commit
3fc8dad9a4
2 changed files with 2 additions and 2 deletions
File diff suppressed because one or more lines are too long
|
@ -30,7 +30,7 @@
|
||||||
|
|
||||||
</footer>
|
</footer>
|
||||||
</article>
|
</article>
|
||||||
<p>Buttons are <code><i>width</i>: <u>100%</u>;</code> by default. Use <code><<b>a</b> <i>role</i>=<u>"button"></u></code> if you need an inline element.</p>
|
<p>Buttons are <code><i>width</i>: <u>100%</u>;</code> by default. Use <code><i>role</i>=<u>"button"</code> on an inline element if you need an inline button.</p>
|
||||||
<article aria-label="Inline buttons examples">
|
<article aria-label="Inline buttons examples">
|
||||||
<a href="#" onclick="event.preventDefault()" role="button">Link</a>
|
<a href="#" onclick="event.preventDefault()" role="button">Link</a>
|
||||||
<a href="#" onclick="event.preventDefault()" role="button">Link</a>
|
<a href="#" onclick="event.preventDefault()" role="button">Link</a>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue