alphagov / govuk_elements

❗️GOV.UK Elements is deprecated, and will only receive major bug fixes and security patches.
https://govuk-elements.herokuapp.com/
MIT License
227 stars 90 forks source link

Set cursor:default for disabled radio buttons and checkboxes #519

Closed gemmaleigh closed 7 years ago

gemmaleigh commented 7 years ago

What problem does the pull request solve?

Fixes #517.

Adds cursor:default for both the disabled input and the label - for radio buttons and checkboxes.

Also adds examples of each.

Screenshots (if appropriate):

Radio button: disabled-radio-buttons

Checkbox: disabled-checkboxes

What type of change is it?

Has the documentation been updated?

edwardhorsford commented 7 years ago

@gemmaleigh Thanks for this! For clarity, would be good for the examples to show the cursor in question.

gemmaleigh commented 7 years ago

Hi @edwardhorsford,

You can see both examples here:

https://govuk-elements-review-pr-519.herokuapp.com/form-elements/#form-radio-buttons-disabled

https://govuk-elements-review-pr-519.herokuapp.com/form-elements/#form-checkboxes-disabled