Skip to content

issue#73 - remove tab focus and pointer when button is disabled#174

Open
dnimmo wants to merge 1 commit intomdgriffith:masterfrom
dnimmo:master
Open

issue#73 - remove tab focus and pointer when button is disabled#174
dnimmo wants to merge 1 commit intomdgriffith:masterfrom
dnimmo:master

Conversation

@dnimmo
Copy link

@dnimmo dnimmo commented Jan 9, 2020

Addressing: #73

Hope this is okay!

Comment on lines +364 to +370
:: (case onPress of
Nothing ->
Internal.NoAttribute

Just _ ->
Internal.Attr (Html.Attributes.tabindex 0)
)
Copy link

@iazel iazel Feb 2, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe this part should be reverted. HTML disabled inputs are not supported because that will prevent focusing too. Visually impaired users will not be able to understand that this button exists if they can't focus on it, for more info refer to:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants