Same problem as in package yii2-bootstrap5, that's widgets generates not complete or invalid BS5 components.
For example, simplest component in BS5 - buttons, widget Button not implements:
<a>s don’t support the disabled attribute, so you must add the .disabled class to make it visually appear disabled
Disabled buttons using <a> should include the aria-disabled="true" attribute to indicate the state of the element to assistive technologies
Disabled buttons using <a> should not include the href attribute
<a> should be given a role="button" to appropriately convey their purpose to assistive technologies
basic HTML generator's features:
auto escape content (escape only if not contains < and >)
normalize attribute values (boolean attributes set as "" or "attribute" too)
too not implemented...
What's doing widget? Add class btn and and generate tag i.e.
Same problem as in package
yii2-bootstrap5
, that's widgets generates not complete or invalid BS5 components. For example, simplest component in BS5 - buttons, widgetButton
not implements:<a>
s don’t support the disabled attribute, so you must add the.disabled
class to make it visually appear disabled<a>
should include thearia-disabled="true"
attribute to indicate the state of the element to assistive technologies<a>
should not include thehref
attribute<a>
should be given arole="button"
to appropriately convey their purpose to assistive technologiesbasic HTML generator's features:
<
and>
)""
or"attribute"
too)too not implemented...
What's doing widget? Add class
btn
and and generate tag i.e.generates
HTML tag less than PHP code! This shows that dummy-widgets like as
Button
are useless to generates BS5 components.