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

Feature request: areaId option for labeling textarea #78

Closed
marcysutton opened this issue Jul 10, 2018 · 1 comment
Closed

Feature request: areaId option for labeling textarea #78

marcysutton opened this issue Jul 10, 2018 · 1 comment

Comments

@marcysutton
Copy link

marcysutton commented Jul 10, 2018

Codeflask generates a textarea without a paired label element, which poses accessibility problems. An easy way to get around it would be to add an areaId option to specify an id value for the textarea. That way a label element can be paired with it for screen reader users.

I'm not sure if this feature previously existed or if someone on my team hacked in their own fix, but it's super easy to add. I've got it working on my local fork and will contribute it back to you as soon as I add it to the tests.

@kazzkiq
Copy link
Owner

kazzkiq commented Jul 16, 2018

I honestly don't remember this feature in the older version, so I guess it was probably a local fix. But will gladly add a PR with this accessibility feature once you get it done!

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

No branches or pull requests

2 participants