-
All button types have been stylized by default, while maintaining accessiblity. Simply add any <button>
or an <input>
with a button type
(i.e. "button"
, "submit"
or "reset"
) and they will be styled accordingly. You can also use the .button
class for links, labels and other elements of your choice to make them look like buttons.
+
All button types have been stylized by default, while maintaining accessiblity. Simply add any <button>
or an <input>
with a button type
(i.e. "button"
, "submit"
or "reset"
) and they will be styled accordingly. You can also use the .button
class or the role="button"
attribute for links, labels and other elements of your choice to make them look like buttons.
Color variants are available in the form of the .primary
, .secondary
, .tertiary
and .inverse
classes. Size variants are available as well in the form of .small
and .large
classes.
Finally, you can create responsive groups of buttons by wrapping them inside a <div>
with the .button-group
class.
Sample code
@@ -349,7 +357,9 @@
<button class="large">Large button</button>
<button disabled>Disabled button</button>
<a href="#" class="button">Link button</a>
+<a href="#" role="button">Link button</a>
<label class="button">Label button</label>
+<label role="button">Label button</label>
<div class="button-group">
<button>Button</button>
diff --git a/docs/v2/DEVLOG.md b/docs/v2/DEVLOG.md
index e52e465..415f165 100644
--- a/docs/v2/DEVLOG.md
+++ b/docs/v2/DEVLOG.md
@@ -861,3 +861,4 @@
- Added accessibility guidelines for using `role="button"` in `navigation`.
- Added `sticky` documentation in `navigation`. No *dos* and *dont's* either, I'm afraid, can't find any troublesome things with this.
- Added a quick fix for `table`s' irregular styling of mutliline headers. Resolves #54.
+- Updated `input_control` documentation for accessibility and `fluid` `input-group`s. Finally resolved #40, accessibility is now properly explained everywhere.