Skip to content

Commit

Permalink
SAK-31549 - Ensure screen reader specific content is rendered off-scr…
Browse files Browse the repository at this point in the history
  • Loading branch information
jonespm authored and ottenhoff committed Sep 16, 2016
1 parent a55a796 commit 10d80c2
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 8 deletions.
2 changes: 0 additions & 2 deletions jsf/jsf-resource/src/webapp/css/sakai.css
Original file line number Diff line number Diff line change
Expand Up @@ -138,5 +138,3 @@ ul.attachList li

/*subgroup 4.4 - not sure - not used?*/
hr.itemSeparator{}
.skip
{display:inline;position:absolute;top:-999px;left:-999px;height:0}
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,12 @@ h4{
}

.skip{
display: none;
position: absolute !important;
height: 1px; width: 1px;
overflow: hidden;
clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
clip: rect(1px, 1px, 1px, 1px);
clip-path: polygon(0px 0px, 0px 0px,0px 0px, 0px 0px);
}

input[type="submit"],input[type="button"]{
Expand Down
11 changes: 6 additions & 5 deletions reference/library/src/webapp/skin/tool_base.css
Original file line number Diff line number Diff line change
Expand Up @@ -545,11 +545,12 @@ input.upload{

/*informational texts intended for screen readers - renders offscreen*/
.skip, .fl-offScreen-hidden {
display: inline;
position: absolute;
top: -999px;
left: -999px;
height: 0;
position: absolute !important;
height: 1px; width: 1px;
overflow: hidden;
clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
clip: rect(1px, 1px, 1px, 1px);
clip-path: polygon(0px 0px, 0px 0px,0px 0px, 0px 0px);
}
/*"inactive" gets applied to a container whose children you want to make look grayed out (not inactive per se) - applies to all textual elements and images
placeholder till more standard way of doing it*/
Expand Down

0 comments on commit 10d80c2

Please sign in to comment.