Summary: | AX: Audio Description tracks are not labeled correctly, causing user confusion | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | James Craig <jcraig> | ||||||||||||
Component: | Media | Assignee: | Eric Carlson <eric.carlson> | ||||||||||||
Status: | RESOLVED FIXED | ||||||||||||||
Severity: | Normal | CC: | commit-queue, webkit-bug-importer | ||||||||||||
Priority: | P2 | Keywords: | InRadar | ||||||||||||
Version: | WebKit Nightly Build | ||||||||||||||
Hardware: | All | ||||||||||||||
OS: | All | ||||||||||||||
See Also: | https://bugs.webkit.org/show_bug.cgi?id=161249 | ||||||||||||||
Attachments: |
|
Description
James Craig
2016-08-07 22:50:24 PDT
Created attachment 285740 [details]
Proposed patch.
Comment on attachment 285740 [details] Proposed patch. Attachment 285740 [details] did not pass ios-sim-ews (ios-simulator-wk2): Output: http://webkit-queues.webkit.org/results/1847400 New failing tests: media/video-controls-captions-trackmenu-hide-on-click.html media/video-controls-captions-trackmenu-localized.html media/video-controls-captions-trackmenu-sorted.html media/video-controls-captions-trackmenu.html Created attachment 285747 [details]
Archive of layout-test-results from ews125 for ios-simulator-elcapitan-wk2
The attached test failures were seen while running run-webkit-tests on the ios-sim-ews.
Bot: ews125 Port: ios-simulator-elcapitan-wk2 Platform: Mac OS X 10.11.5
Created attachment 285754 [details]
Proposed patch.
Comment on attachment 285754 [details] Proposed patch. View in context: https://bugs.webkit.org/attachment.cgi?id=285754&action=review > Source/WebCore/page/CaptionUserPreferencesMediaAF.cpp:660 > + return audioDescriptionTrackSuffixText(displayName.toString()); Since having a description track is a special case, I would have expected the if statement above to check whether we have one and return the suffix text in that case and let the default be the general case. > LayoutTests/http/tests/media/hls/hls-accessiblity-describes-video-menu.html:47 > + window.setTimeout(runTestsWithVisibleMenu, 100); Usage of setTimeout is typically a warning to me. What is the 100ms delay for here? Are we waiting on some layout due to some async event being dispatched? Could we use nested rAF calls to determine this has happened? Created attachment 286369 [details]
Patch for landing.
Comment on attachment 286369 [details] Patch for landing. Clearing flags on attachment: 286369 Committed r204601: <http://trac.webkit.org/changeset/204601> All reviewed patches have been landed. Closing bug. |