-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Add label-checkbox relation in CreateLink form #1275
Comments
For the We're actually already using this I think this makes sense and would be a nice and easy bug for anyone to make a simple contribution to medium-editor! |
Added id to anchor target checkbox using this.getEditorId() for uniqueness, and then added the for attribute to the label
Add label-checkbox relation in CreateLink form yabwe#1275
Add label-checkbox relation in CreateLink form #1275
Description
When adding the targetCheckbox:true option for anchor links, label is missing the FOR attribute, checkbox is missing also the ID attribute to enable clicking on the label.
These attributes allow frameworks to replace the checkbox with a good looking one.
Here is my proposal :
Thanks,
Versions
The text was updated successfully, but these errors were encountered: