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
But if we will change in BEMJSON tag, for example, to <div>, variable isRealButton still will be true. It's wrong because we can't add some attributes such as disabled to <div>.
In the attach block it's very important because we use <span> tag instead of <button>. As a result — disabled button in attach block will be disabled only visually for a11y's programs.
The text was updated successfully, but these errors were encountered:
Now in templates we check just
type
modifier:But if we will change in BEMJSON tag, for example, to
<div>
, variableisRealButton
still will betrue
. It's wrong because we can't add some attributes such asdisabled
to<div>
.In the
attach
block it's very important because we use<span>
tag instead of<button>
. As a result — disabled button inattach
block will be disabled only visually for a11y's programs.The text was updated successfully, but these errors were encountered: