Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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