Open lukewarlow opened 7 months ago
@scottaohara I would be especially curious for your input here.
this seems like it'd legitimize an unfortunate design trend to provide tooltips for disabled controls that often then can't be accessed by everyone since the element is disabled.
one could argue that the title
attribute tooltip appears on hover over disabled controls - but... if that person knows anything about the a11y/ux issues of the title attribute, they'd know that's a big opening to rip their argument apart.
I'm going to go ahead and close this as something we don't want to allow.
Actually will leave this open until the explainer is updated to explicitly disallow disabled buttons.
I think we should also update it to disallow links without a href (as they're effectively disabled).
@keithamus mentioned this during review of the initial implementation. Disabled buttons right now can't be focused (at least using the tab key with the default
<button disabled>Foo</button>
markup). So interest might only work for specific input modalities if we were to allow disabled elements?