Skip to content

Commit

Permalink
Merge pull request #281 from edx/talbs/update-text-sr-utility
Browse files Browse the repository at this point in the history
FEDX-19: Updating a11y-based "sr" Utilities
  • Loading branch information
talbs committed Feb 1, 2016
2 parents 3573048 + 0d3ece3 commit 2417377
Show file tree
Hide file tree
Showing 16 changed files with 71 additions and 50 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ Nothing yet

- - -

## 0.9.2 (2016-02-01)
* modernizing '%a11y-hide' and 'sr-only' utilities

- - -

## 0.9.1 (2016-02-01)
* introduce $pattern-library-path variable
* FIX - always refer to edx-icons via $edx-icons-font-path
Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "edx-pattern-library",
"version": "0.9.1",
"version": "0.9.2",
"authors": [
"edX UX Team <ux@edx.org>"
],
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "edx-pattern-library",
"version": "0.9.1",
"version": "0.9.2",
"author": "edX UX Team <ux@edx.org>",
"license": "Apache-2.0",
"description": "The (working) Visual, UI, and Front End Styleguide for edX Apps",
Expand Down
14 changes: 8 additions & 6 deletions pattern-library/css/edx-pattern-library-ltr.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pattern-library/css/edx-pattern-library-ltr.min.css

Large diffs are not rendered by default.

14 changes: 8 additions & 6 deletions pattern-library/css/edx-pattern-library-rtl.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pattern-library/css/edx-pattern-library-rtl.min.css

Large diffs are not rendered by default.

16 changes: 10 additions & 6 deletions pattern-library/sass/global/_helpers.scss
Original file line number Diff line number Diff line change
Expand Up @@ -54,14 +54,18 @@

// accessibility
%a11y-hide {
border: 0;
clip: rect(0 0 0 0);
height: 1px;
margin: -1px;
overflow: hidden;
padding: 0;
// clip has been deprecated but is still supported
clip: rect(1px 1px 1px 1px);
clip: rect(1px, 1px, 1px, 1px);
position: absolute;
margin: -1px;
height: 1px;
width: 1px;
border: 0;
padding: 0;
overflow: hidden;
// ensure there are spaces in sr text
word-wrap: normal;
}

%a11y-hide-image-text {
Expand Down
14 changes: 8 additions & 6 deletions public/css/demo-ltr.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion public/css/demo-ltr.min.css

Large diffs are not rendered by default.

14 changes: 8 additions & 6 deletions public/css/demo-rtl.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion public/css/demo-rtl.min.css

Large diffs are not rendered by default.

14 changes: 8 additions & 6 deletions public/css/main-ltr.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion public/css/main-ltr.min.css

Large diffs are not rendered by default.

14 changes: 8 additions & 6 deletions public/css/main-rtl.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion public/css/main-rtl.min.css

Large diffs are not rendered by default.

0 comments on commit 2417377

Please sign in to comment.