Problem/Motivation
add css classes thats only used by javascript. Classes will use the original name and be prefixed with .js- and be added to the existing class for seperating design and functionality.
<div class ="foo"> -> <div class ="js-foo foo">
Proposed resolution
classes added & used by js
.js-form-wrapper
.js-form-required
.js-field-parent
.js-form-item
.js-form-item,
.js-form-submit,
.js-form-wrapper
Remaining tasks
User interface changes
API changes
Beta phase evaluation
Issue category | Task because nothing is broken |
---|---|
Issue priority | Not critical because nothing is broken |
Unfrozen changes | Unfrozen because it mostly just affects templates and JS which is not frozen |
Prioritized changes | The main goal of this issue is to improve themer experience. |
Disruption | Shouldn't be too disruptive as it is mostly affecting CSS classes that are added to markup. |