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
We have to add ids to Buttons and iFrames wherever they occur so the testing team can access them easier. Therefore, it would be great if we could have the Rule like @html-eslint has for requiring certain Attributes for HTML Tags.
Proposed Rule name: html-tag-require-attribute
Example as how @html-eslint did it. There you can configure which HTML Tags should have which Attributes.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi!
We have to add ids to Buttons and iFrames wherever they occur so the testing team can access them easier. Therefore, it would be great if we could have the Rule like
@html-eslint
has for requiring certain Attributes for HTML Tags.Proposed Rule name:
html-tag-require-attribute
Example as how
@html-eslint
did it. There you can configure which HTML Tags should have which Attributes.@html-eslint/require-attrs
I would be open to contribute with a little bit of Help into the right direction.
Beta Was this translation helpful? Give feedback.
All reactions