The lg-separator shouldn't have role=separator
#139
Unanswered
elenagarrone
asked this question in
General
Replies: 2 comments 2 replies
-
I agree, more often than not it's just a decoration. I think an input is a good idea for setting the role when needed 👍 |
Beta Was this translation helpful? Give feedback.
2 replies
-
PR open #283 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The
lg-separator
component has arole="separator"
which in my opinion is going to be wrong in most cases as most of the time we'll use it just for styling.In my opinion the component should have an attribute of
aria-hidden="true"
by default and an input e.g.hasRole
that allows a developer to have the role when needed.Beta Was this translation helpful? Give feedback.
All reactions