Changeset 147343 in webkit
- Timestamp:
- Apr 1, 2013 11:05:48 AM (11 years ago)
- Location:
- trunk
- Files:
-
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r147325 r147343 1 2013-04-01 James Craig <james@cookiecrook.com> 2 3 AX: "video element controller" is an overly verbose default description for the playback controls; how about just "playback" 4 https://bugs.webkit.org/show_bug.cgi?id=113549 5 6 Reviewed by Chris Fleizach. 7 8 Updating the video/audio element's default accessibility labels to be less verbose. 9 10 * platform/gtk/accessibility/media-controls-panel-title-expected.txt: 11 * platform/gtk/accessibility/media-controls-panel-title.html: 12 * platform/gtk/accessibility/media-element-expected.txt: 13 * platform/mac/accessibility/media-element-expected.txt: 14 1 15 2013-04-01 Victor Carbune <vcarbune@chromium.org> 2 16 -
trunk/LayoutTests/platform/gtk/accessibility/media-controls-panel-title-expected.txt
r132091 r147343 7 7 PASS element.title is 'AXTitle: ' 8 8 PASS element.role is 'AXRole: AXToolbar' 9 PASS element.title is 'AXTitle: video element controller'9 PASS element.title is 'AXTitle: video playback' 10 10 PASS successfullyParsed is true 11 11 -
trunk/LayoutTests/platform/gtk/accessibility/media-controls-panel-title.html
r132091 r147343 18 18 element = element.childAtIndex(0); 19 19 shouldBe("element.role", "'AXRole: AXToolbar'"); 20 shouldBe("element.title", "'AXTitle: video element controller'");20 shouldBe("element.title", "'AXTitle: video playback'"); 21 21 } 22 22 -
trunk/LayoutTests/platform/gtk/accessibility/media-element-expected.txt
r143463 r147343 5 5 State at 'canplaythrough' event: 6 6 7 description: AXDescription: video element controller7 description: AXDescription: video playback 8 8 role: AXRole: AXToolbar 9 9 10 10 11 description: AXDescription: video element controller11 description: AXDescription: video playback 12 12 role: AXRole: AXToolbar 13 13 -
trunk/LayoutTests/platform/mac/accessibility/media-element-expected.txt
r111041 r147343 5 5 State at 'canplaythrough' event: 6 6 7 description: AXDescription: video element controller7 description: AXDescription: video playback 8 8 role: AXRole: AXToolbar 9 9 -
trunk/Source/WebCore/ChangeLog
r147336 r147343 1 2013-04-01 James Craig <james@cookiecrook.com> 2 3 AX: "video element controller" is an overly verbose default description for the playback controls; how about just "playback" 4 https://bugs.webkit.org/show_bug.cgi?id=113549 5 6 Reviewed by Chris Fleizach. 7 8 Existing test coverage. 9 10 Updating the video/audio element's default accessibility labels to be less verbose. 11 Also cleaned up some erroneous comments related to the sub-level controls on these elements. 12 13 * English.lproj/Localizable.strings: 14 * platform/LocalizedStrings.cpp: 15 (WebCore::localizedMediaControlElementString): 16 (WebCore::localizedMediaControlElementHelpText): 17 * platform/gtk/LocalizedStringsGtk.cpp: 18 (WebCore::localizedMediaControlElementString): 19 1 20 2013-04-01 Nate Chapin <japhet@chromium.org> 2 21 -
trunk/Source/WebCore/English.lproj/Localizable.strings
r146380 r147343 590 590 "article" = "article"; 591 591 592 /* accessibility role descriptionfor audio element controller */593 "audio element controller" = "audio element controller";594 595 /* accessibility role descriptionfor audio element controller */592 /* accessibility label for audio element controller */ 593 "audio playback" = "audio playback"; 594 595 /* accessibility help text for audio element controller */ 596 596 "audio element playback controls and status display" = "audio element playback controls and status display"; 597 597 598 /* accessibility role descriptionfor seek back 30 seconds button */598 /* accessibility label for seek back 30 seconds button */ 599 599 "back 30 seconds" = "back 30 seconds"; 600 600 … … 650 650 "document" = "document"; 651 651 652 /* accessibility role descriptionfor elapsed time display */652 /* accessibility label for elapsed time display */ 653 653 "elapsed time" = "elapsed time"; 654 654 655 /* accessibility role descriptionfor enter fullscreen button */655 /* accessibility label for enter fullscreen button */ 656 656 "enter fullscreen" = "enter fullscreen"; 657 657 658 /* accessibility role descriptionfor exit fullscreen button */658 /* accessibility label for exit fullscreen button */ 659 659 "exit fullscreen" = "exit fullscreen"; 660 660 … … 662 662 "expectation failed" = "expectation failed"; 663 663 664 /* accessibility role descriptionfor fast forward button */664 /* accessibility label for fast forward button */ 665 665 "fast forward" = "fast forward"; 666 666 667 /* accessibility role descriptionfor fast reverse button */667 /* accessibility label for fast reverse button */ 668 668 "fast reverse" = "fast reverse"; 669 669 … … 731 731 "moved permanently" = "moved permanently"; 732 732 733 /* accessibility role descriptionfor timeline slider */733 /* accessibility label for timeline slider */ 734 734 "movie time" = "movie time"; 735 735 … … 743 743 "multiple choices" = "multiple choices"; 744 744 745 /* accessibility role descriptionfor mute button */745 /* accessibility label for mute button */ 746 746 "mute" = "mute"; 747 747 … … 791 791 "pattern mismatch" = "pattern mismatch"; 792 792 793 /* accessibility role descriptionfor pause button */793 /* accessibility label for pause button */ 794 794 "pause" = "pause"; 795 795 … … 800 800 "payment required" = "payment required"; 801 801 802 /* accessibility role descriptionfor play button */802 /* accessibility label for play button */ 803 803 "play" = "play"; 804 804 … … 824 824 "region" = "region"; 825 825 826 /* accessibility role descriptionfor time remaining display */826 /* accessibility label for time remaining display */ 827 827 "remaining time" = "remaining time"; 828 828 … … 845 845 "return streaming movie to real time" = "return streaming movie to real time"; 846 846 847 /* accessibility role descriptionfor return to real time button */847 /* accessibility label for return to real time button */ 848 848 "return to realtime" = "return to realtime"; 849 849 … … 872 872 "service unavailable" = "service unavailable"; 873 873 874 /* accessibility role descriptionfor show closed captions button */874 /* accessibility label for show closed captions button */ 875 875 "show closed captions" = "show closed captions"; 876 876 … … 878 878 "start displaying closed captions" = "start displaying closed captions"; 879 879 880 /* accessibility role descriptionfor movie status */880 /* accessibility label for movie status */ 881 881 "status" = "status"; 882 882 … … 902 902 "term" = "term"; 903 903 904 /* accessibility role descriptionfor timeline thumb */904 /* accessibility label for timeline thumb */ 905 905 "timeline slider thumb" = "timeline slider thumb"; 906 906 … … 932 932 "unknown" = "unknown"; 933 933 934 /* accessibility role descriptionfor turn mute off button */934 /* accessibility label for turn mute off button */ 935 935 "unmute" = "unmute"; 936 936 … … 947 947 "value missing" = "value missing"; 948 948 949 /* accessibility role descriptionfor video element controller */950 "video element controller" = "video element controller";951 952 /* accessibility role descriptionfor video element controller */949 /* default accessibility label for video element controller */ 950 "video playback" = "video playback"; 951 952 /* accessibility help text for video element controller */ 953 953 "video element playback controls and status display" = "video element playback controls and status display"; 954 954 -
trunk/Source/WebCore/platform/LocalizedStrings.cpp
r146380 r147343 816 816 { 817 817 if (name == "AudioElement") 818 return WEB_UI_STRING("audio element controller", "accessibility role descriptionfor audio element controller");818 return WEB_UI_STRING("audio playback", "accessibility label for audio element controller"); 819 819 if (name == "VideoElement") 820 return WEB_UI_STRING("video element controller", "accessibility role descriptionfor video element controller");820 return WEB_UI_STRING("video playback", "accessibility label for video element controller"); 821 821 if (name == "MuteButton") 822 return WEB_UI_STRING("mute", "accessibility role descriptionfor mute button");822 return WEB_UI_STRING("mute", "accessibility label for mute button"); 823 823 if (name == "UnMuteButton") 824 return WEB_UI_STRING("unmute", "accessibility role descriptionfor turn mute off button");824 return WEB_UI_STRING("unmute", "accessibility label for turn mute off button"); 825 825 if (name == "PlayButton") 826 return WEB_UI_STRING("play", "accessibility role descriptionfor play button");826 return WEB_UI_STRING("play", "accessibility label for play button"); 827 827 if (name == "PauseButton") 828 return WEB_UI_STRING("pause", "accessibility role descriptionfor pause button");828 return WEB_UI_STRING("pause", "accessibility label for pause button"); 829 829 if (name == "Slider") 830 return WEB_UI_STRING("movie time", "accessibility role descriptionfor timeline slider");830 return WEB_UI_STRING("movie time", "accessibility label for timeline slider"); 831 831 if (name == "SliderThumb") 832 return WEB_UI_STRING("timeline slider thumb", "accessibility role descriptionfor timeline thumb");832 return WEB_UI_STRING("timeline slider thumb", "accessibility label for timeline thumb"); 833 833 if (name == "RewindButton") 834 return WEB_UI_STRING("back 30 seconds", "accessibility role descriptionfor seek back 30 seconds button");834 return WEB_UI_STRING("back 30 seconds", "accessibility label for seek back 30 seconds button"); 835 835 if (name == "ReturnToRealtimeButton") 836 return WEB_UI_STRING("return to realtime", "accessibility role descriptionfor return to real time button");836 return WEB_UI_STRING("return to realtime", "accessibility label for return to real time button"); 837 837 if (name == "CurrentTimeDisplay") 838 return WEB_UI_STRING("elapsed time", "accessibility role descriptionfor elapsed time display");838 return WEB_UI_STRING("elapsed time", "accessibility label for elapsed time display"); 839 839 if (name == "TimeRemainingDisplay") 840 return WEB_UI_STRING("remaining time", "accessibility role descriptionfor time remaining display");840 return WEB_UI_STRING("remaining time", "accessibility label for time remaining display"); 841 841 if (name == "StatusDisplay") 842 return WEB_UI_STRING("status", "accessibility role descriptionfor movie status");842 return WEB_UI_STRING("status", "accessibility label for movie status"); 843 843 if (name == "EnterFullscreenButton") 844 return WEB_UI_STRING("enter fullscreen", "accessibility role descriptionfor enter fullscreen button");844 return WEB_UI_STRING("enter fullscreen", "accessibility label for enter fullscreen button"); 845 845 if (name == "ExitFullscreenButton") 846 return WEB_UI_STRING("exit fullscreen", "accessibility role descriptionfor exit fullscreen button");846 return WEB_UI_STRING("exit fullscreen", "accessibility label for exit fullscreen button"); 847 847 if (name == "SeekForwardButton") 848 return WEB_UI_STRING("fast forward", "accessibility role descriptionfor fast forward button");848 return WEB_UI_STRING("fast forward", "accessibility label for fast forward button"); 849 849 if (name == "SeekBackButton") 850 return WEB_UI_STRING("fast reverse", "accessibility role descriptionfor fast reverse button");850 return WEB_UI_STRING("fast reverse", "accessibility label for fast reverse button"); 851 851 if (name == "ShowClosedCaptionsButton") 852 return WEB_UI_STRING("show closed captions", "accessibility role descriptionfor show closed captions button");852 return WEB_UI_STRING("show closed captions", "accessibility label for show closed captions button"); 853 853 if (name == "HideClosedCaptionsButton") 854 return WEB_UI_STRING("hide closed captions", "accessibility role descriptionfor hide closed captions button");854 return WEB_UI_STRING("hide closed captions", "accessibility label for hide closed captions button"); 855 855 856 856 // FIXME: the ControlsPanel container should never be visible in the accessibility hierarchy. … … 865 865 { 866 866 if (name == "AudioElement") 867 return WEB_UI_STRING("audio element playback controls and status display", "accessibility role descriptionfor audio element controller");867 return WEB_UI_STRING("audio element playback controls and status display", "accessibility help text for audio element controller"); 868 868 if (name == "VideoElement") 869 return WEB_UI_STRING("video element playback controls and status display", "accessibility role descriptionfor video element controller");869 return WEB_UI_STRING("video element playback controls and status display", "accessibility help text for video element controller"); 870 870 if (name == "MuteButton") 871 871 return WEB_UI_STRING("mute audio tracks", "accessibility help text for mute button"); -
trunk/Source/WebCore/platform/gtk/LocalizedStringsGtk.cpp
r143232 r147343 533 533 { 534 534 if (name == "AudioElement") 535 return String::fromUTF8(_("audio element controller"));535 return String::fromUTF8(_("audio playback")); 536 536 if (name == "VideoElement") 537 return String::fromUTF8(_("video element controller"));537 return String::fromUTF8(_("video playback")); 538 538 if (name == "MuteButton") 539 539 return String::fromUTF8(_("mute")); -
trunk/Source/WebCore/platform/gtk/po/ChangeLog
r147015 r147343 1 2013-04-01 James Craig <james@cookiecrook.com> 2 3 AX: "video element controller" is an overly verbose default description for the playback controls; how about just "playback" 4 https://bugs.webkit.org/show_bug.cgi?id=113549 5 6 Reviewed by Chris Fleizach. 7 8 Existing test coverage. 9 10 Updating the video/audio element's default accessibility labels to be less verbose. 11 12 * en_CA.po: 13 * en_GB.po: 14 1 15 2013-03-27 Shantha kumar <shkumar@redhat.com> 2 16 -
trunk/Source/WebCore/platform/gtk/po/en_CA.po
r145936 r147343 376 376 377 377 #: LocalizedStringsGtk.cpp:535 378 msgid "audio element controller"379 msgstr "audio element controller"378 msgid "audio playback" 379 msgstr "audio playback" 380 380 381 381 #: LocalizedStringsGtk.cpp:537 382 msgid "video element controller"383 msgstr "video element controller"382 msgid "video playback" 383 msgstr "video playback" 384 384 385 385 #: LocalizedStringsGtk.cpp:539 -
trunk/Source/WebCore/platform/gtk/po/en_GB.po
r145936 r147343 378 378 379 379 #: LocalizedStringsGtk.cpp:535 380 msgid "audio element controller"381 msgstr "audio element controller"380 msgid "audio playback" 381 msgstr "audio playback" 382 382 383 383 #: LocalizedStringsGtk.cpp:537 384 msgid "video element controller"385 msgstr "video element controller"384 msgid "video playback" 385 msgstr "video playback" 386 386 387 387 #: LocalizedStringsGtk.cpp:539
Note: See TracChangeset
for help on using the changeset viewer.