-
Notifications
You must be signed in to change notification settings - Fork 986
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Dev: added div and aria-labelledby for label in question array
Before, the label text was always shown inside a label element. But, final users could insert HTML in the label text, such as block elements.So it could build invalid HTML code. Now, the label text is inserted inside a div element, and linked to the input through the attribute aria-labelledby
- Loading branch information
LouisGac
committed
Apr 12, 2016
1 parent
0af3e4e
commit 167f1eb
Showing
2 changed files
with
12 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters