Skip to content

Fix for bug BLD-359: Unnecessary focus outline around Video Player. - #1120

Merged
valera-rozuvan merged 1 commit into
masterfrom
valera/fix_for_unnecessary_outline_around_video
Sep 25, 2013
Merged

Fix for bug BLD-359: Unnecessary focus outline around Video Player.#1120
valera-rozuvan merged 1 commit into
masterfrom
valera/fix_for_unnecessary_outline_around_video

Conversation

@valera-rozuvan

Copy link
Copy Markdown
Contributor

On Chrome or Safari, if you click on one of the video controls, a large focus outline will surround the entire div containing the video itself, the controls, and the captions. It disappears when you click outside of that div.

On Firefox, none of this behavior but if you click on the edge of that div, a dotted outline will appear that reaches to the far left of the window, disappearing for a while under the navigation accordeon.

Analysis: This is due to the fact that the main video container now has tabindex set to "-1". We can programmability set focus to it now. Chrome and Safari puts a border around it when some child element receives focus.

Solution: Style the element so that the outline is 0 when the main container receives focus.

@ghost ghost assigned jmclaus Sep 25, 2013
@jmclaus

jmclaus commented Sep 25, 2013

Copy link
Copy Markdown

@valera-rozuvan As far as I'm concerned, it doesn't break the new improvements to accessibility and fixes this problem. Tested on Chrome/Safari/Firefox. Good tho merge.

valera-rozuvan added a commit that referenced this pull request Sep 25, 2013
…around_video

Fix for bug BLD-359: Unnecessary focus outline around Video Player.
@valera-rozuvan
valera-rozuvan merged commit a8349a0 into master Sep 25, 2013
@valera-rozuvan
valera-rozuvan deleted the valera/fix_for_unnecessary_outline_around_video branch September 25, 2013 14:00
lgp171188 pushed a commit to open-craft/openedx-platform that referenced this pull request Sep 20, 2018
MCKIN-7712: update egg name for DnD to include new v4 changes
iloveagent57 pushed a commit that referenced this pull request Feb 26, 2024
Replaces some of the manual calls to `manage.py migrate`
with `make migrate` for more consistency with other IDAs.

openedx-unsupported/devstack#1085
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants