Skip to content

Commit

Permalink
Ensure screen reader text is hidden on long pages.
Browse files Browse the repository at this point in the history
On long pages, the screen reader text will be visible and overlap other elements
on the page since it only uses a negative top offset. Adding a large, negative
left offset should help ensure it's never visible.
  • Loading branch information
bradyvercher committed Dec 13, 2014
1 parent d799a54 commit f438256
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/css/mediaelementplayer.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
/* Accessibility: hide screen reader texts (and prefer "top" for RTL languages). */
position: absolute !important;
top: -10000px;
left: -10000px;
overflow: hidden;
width: 1px;
height: 1px;
Expand Down

0 comments on commit f438256

Please sign in to comment.