-
Notifications
You must be signed in to change notification settings - Fork 1
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
Input Label Accessibility Updates #514
Changes from all commits
8ce4ea4
c7fd44a
01e065e
6c61365
0de56e0
f37d3f9
b653e66
d9ddebd
686036d
25f60b5
573062b
5dc32fb
8ba5a8e
1858ae7
4c48452
944e125
dbd3cd1
8c268b3
5d17b18
b82a3a6
f89d97f
e492596
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
/*----------------------- | ||
Fieldset | ||
Field Wrappers | ||
-----------------------*/ | ||
fieldset { | ||
fieldset, | ||
.field-wrapper { | ||
Comment on lines
+4
to
+5
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. My hope is that this might ease some of the style changes (just swapping There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can you add this documentation to a migration guide? |
||
display: inline-block; | ||
@include rem(margin-top, 15px); | ||
position: relative; | ||
|
@@ -85,6 +86,19 @@ Input Icon | |
.web-icon { | ||
// background-image: asset-url("web.svg"); | ||
} | ||
|
||
.input-wrapper { | ||
position: relative; | ||
|
||
i { | ||
@include position(absolute, 3px null null 10px); | ||
background-repeat: no-repeat; | ||
background-size: 15px; | ||
display: inline-block; | ||
height: 20px; | ||
width: 20px; | ||
} | ||
} | ||
Comment on lines
+90
to
+101
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This was included further down in a duplicate "Input Icon" section. |
||
} | ||
|
||
/*----------------------- | ||
|
@@ -145,8 +159,7 @@ Radio | |
Checkbox | ||
-----------------------*/ | ||
.checkbox { | ||
@include rem(margin-top, 15px); | ||
width: auto; | ||
@include rem(margin-top, 3px); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can you explain this change? |
||
|
||
label { | ||
cursor: pointer; | ||
|
@@ -402,29 +415,6 @@ Button Area | |
width: 135px; | ||
} | ||
|
||
/*----------------------- | ||
Input Icon | ||
-----------------------*/ | ||
.icon-label { | ||
position: relative; | ||
input { | ||
@include rem(padding-left, 30px); | ||
} | ||
|
||
.input-wrapper { | ||
position: relative; | ||
|
||
i { | ||
@include position(absolute, 3px null null 10px); | ||
background-repeat: no-repeat; | ||
background-size: 15px; | ||
display: inline-block; | ||
height: 20px; | ||
width: 20px; | ||
} | ||
} | ||
} | ||
|
||
/*----------------------- | ||
Custom Dropdown Select | ||
-----------------------*/ | ||
|
@@ -567,7 +557,7 @@ Custom Dropdown Select | |
} | ||
} | ||
|
||
fieldset.checkbox, | ||
.field-wrapper.checkbox, | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I don't think this is a one-for-one change. If we have rules for |
||
fieldset.CheckboxGroup { | ||
width: 100% !important; | ||
|
||
|
This file was deleted.
This file was deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I noticed a couple style files were no longer being used. Not sure if they should still be there for reference?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm fine with deleting them!