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
I'm finding it limiting to not have the ability to use ref / relref with button.
my thought was to submit a PR to add ref/relref as params
ref relref href
as well as 'title' so as to enrich the functionality and make it a bit more screenreader friendly.
once I started lookin tho, I figured that it might be better to start a conversation here first, as there's a bunch of options viable for A tags .. not to mention the global html attributes
download
href
hreflang
media
ping
referrerpolicy
rel
target
type
My thought was to have a few 'class list' variants for different types of button aesthetics1 facilitating a few different styles
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
-
I'm finding it limiting to not have the ability to use
ref
/relref
with button.my thought was to submit a PR to add ref/relref as params
ref
relref
href
as well as 'title' so as to enrich the functionality and make it a bit more screenreader friendly.
once I started lookin tho, I figured that it might be better to start a conversation here first, as there's a bunch of options viable for A tags .. not to mention the global html attributes
My thought was to have a few 'class list' variants for different types of button aesthetics1 facilitating a few different styles
a few paired param sets... (?? being optional)
[
[ [download] + type?? + media?? ] || [ [ref || relref || href || url] + hreflang?? ]
]
[ title?? ]
]
and then like "flavor", "feel", "tone", or "mode"2
not sure about aria properties...
thoughts?
want a pr first?
Footnotes
As populating them all in md is cumbersome ↩
Totally open to suggestions here, my intent is to avoid overloading the label
style
orclass
↩Beta Was this translation helpful? Give feedback.
All reactions