Class-Less Markup #174
taufik-nurrohman
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Here are some ideas that can be used to create class-less HTML markup components while retaining the ability to give it an aesthetic touch via CSS. This practice is recommended to be applied to any HTML output generated by a particular extension. In the future, HTML classes implementation should become a liability of the layout system.
Alert
Equivalent to these Bootstrap components:
Button
Equivalent to these Bootstrap components:
Current
Dialog
https://www.w3.org/TR/wai-aria-1.1/#alertdialog
https://www.w3.org/TR/wai-aria-1.1/#dialog
https://www.w3.org/TR/wai-aria-practices/examples/dialog-modal/dialog.html
Tabs
Still not perfect since we will miss the tabs wrapper.
Loading
Note
Notice
Toggle
Equivalent to these Bootstrap components:
Beta Was this translation helpful? Give feedback.
All reactions