]> granicus.if.org Git - handbrake/commitdiff
MacGui: add some accessibility labels to the preview window buttons.
authorDamiano Galassi <damiog@gmail.com>
Fri, 21 Oct 2016 12:43:35 +0000 (14:43 +0200)
committerDamiano Galassi <damiog@gmail.com>
Fri, 21 Oct 2016 12:43:35 +0000 (14:43 +0200)
macosx/HBPictureHUDController.xib
macosx/HBPlayerHUDController.xib

index 22da3ff171c0b52de6e1534d3c7fb957639e371c..99690a921d41f576f16217fda754cca933177028 100644 (file)
@@ -1,8 +1,9 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="11129.15" systemVersion="15G26a" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
+<?xml version="1.0" encoding="UTF-8"?>
+<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="11535.1" systemVersion="16B2553a" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
     <dependencies>
         <deployment identifier="macosx"/>
-        <plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="11129.15"/>
+        <development version="7000" identifier="xcode"/>
+        <plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="11535.1"/>
     </dependencies>
     <objects>
         <customObject id="-2" userLabel="File's Owner" customClass="HBPictureHUDController">
                         </menu>
                     </popUpButtonCell>
                     <connections>
+                        <accessibilityConnection property="title" destination="5T3-Vx-mC1" id="G7o-Sr-rhm"/>
                         <action selector="previewDurationPopUpChanged:" target="-2" id="JSm-Eo-Ijw"/>
                     </connections>
                 </popUpButton>
                 <slider verticalHuggingPriority="750" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="wUk-SQ-GhS">
-                    <rect key="frame" x="18" y="39" width="420" height="17"/>
+                    <rect key="frame" x="18" y="39" width="420" height="15"/>
                     <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
                     <sliderCell key="cell" controlSize="mini" continuous="YES" alignment="left" maxValue="9" tickMarkPosition="above" numberOfTickMarks="10" allowsTickMarkValuesOnly="YES" sliderType="linear" id="dPk-jb-w9o">
                         <font key="font" metaFont="miniSystem"/>
                     </sliderCell>
+                    <accessibility description="preview image"/>
                     <connections>
                         <action selector="pictureSliderChanged:" target="-2" id="576-54-fMW"/>
                     </connections>
index ba638684621a509b893bd7f5dd33b29f5f87e8f5..db5cbac7a45933d3fb6ee665686a5980fcb34e32 100644 (file)
@@ -1,8 +1,9 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="10117" systemVersion="15G7a" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none">
+<?xml version="1.0" encoding="UTF-8"?>
+<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="11535.1" systemVersion="16B2553a" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none">
     <dependencies>
         <deployment identifier="macosx"/>
-        <plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="10117"/>
+        <development version="7000" identifier="xcode"/>
+        <plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="11535.1"/>
     </dependencies>
     <objects>
         <customObject id="-2" userLabel="File's Owner" customClass="HBPlayerHUDController">
@@ -26,6 +27,7 @@
                     <rect key="frame" x="69" y="18" width="322" height="17"/>
                     <autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMaxY="YES"/>
                     <sliderCell key="cell" controlSize="small" continuous="YES" alignment="left" maxValue="100" tickMarkPosition="above" sliderType="linear" id="mMk-re-3u5"/>
+                    <accessibility description="timeline"/>
                     <connections>
                         <action selector="sliderChanged:" target="-2" id="YM4-mh-fr5"/>
                     </connections>
@@ -37,6 +39,7 @@
                         <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
                         <font key="font" metaFont="system"/>
                     </buttonCell>
+                    <accessibility description="play/pause"/>
                     <connections>
                         <action selector="playPauseToggle:" target="-2" id="LLB-0k-P6K"/>
                     </connections>
@@ -48,6 +51,7 @@
                         <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
                         <font key="font" metaFont="system"/>
                     </buttonCell>
+                    <accessibility description="go to beginning"/>
                     <connections>
                         <action selector="goToBeginning:" target="-2" id="m24-WZ-vGD"/>
                     </connections>
@@ -59,6 +63,7 @@
                         <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
                         <font key="font" metaFont="miniSystem"/>
                     </buttonCell>
+                    <accessibility description="go to end"/>
                     <connections>
                         <action selector="goToEnd:" target="-2" id="Rp0-53-4gw"/>
                     </connections>
@@ -71,6 +76,7 @@
                         <color key="textColor" name="secondaryLabelColor" catalog="System" colorSpace="catalog"/>
                         <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
                     </textFieldCell>
+                    <accessibility description="remaining time"/>
                 </textField>
                 <textField verticalHuggingPriority="750" id="uYx-2C-8et">
                     <rect key="frame" x="10" y="20" width="55" height="14"/>
                         <color key="textColor" name="secondaryLabelColor" catalog="System" colorSpace="catalog"/>
                         <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
                     </textFieldCell>
+                    <accessibility description="current time"/>
                 </textField>
                 <slider verticalHuggingPriority="750" id="gzA-no-jdv">
                     <rect key="frame" x="34" y="55" width="65" height="17"/>
                     <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
                     <sliderCell key="cell" controlSize="small" continuous="YES" state="on" alignment="left" maxValue="1" doubleValue="1" tickMarkPosition="above" sliderType="linear" id="aQz-j6-bQi"/>
+                    <accessibility description="volume"/>
                     <connections>
                         <action selector="volumeSliderChanged:" target="-2" id="rLr-Ug-i8q"/>
                     </connections>
                         <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
                         <font key="font" metaFont="system"/>
                     </buttonCell>
+                    <accessibility description="end live preview"/>
                     <connections>
                         <action selector="showPicturesPreview:" target="-2" id="kCs-UI-Epb"/>
                     </connections>
                 </button>
-                <button toolTip="Go To Beginning" id="euL-Tg-dmT">
+                <button toolTip="Mute" id="euL-Tg-dmT">
                     <rect key="frame" x="12" y="55" width="18" height="18"/>
                     <autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMaxX="YES" flexibleMinY="YES"/>
                     <buttonCell key="cell" type="square" bezelStyle="shadowlessSquare" image="volLowTemplate" imagePosition="overlaps" alignment="center" imageScaling="proportionallyDown" id="njB-22-thn">
                         <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
                         <font key="font" metaFont="system"/>
                     </buttonCell>
+                    <accessibility description="mute"/>
                     <connections>
                         <action selector="mute:" target="-2" id="CIm-ce-Lnf"/>
                     </connections>
                 </button>
-                <button id="Kiv-cL-wYI">
+                <button toolTip="Full Volume" id="Kiv-cL-wYI">
                     <rect key="frame" x="103" y="55" width="18" height="18"/>
                     <autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMaxX="YES" flexibleMinY="YES"/>
                     <buttonCell key="cell" type="square" bezelStyle="shadowlessSquare" image="volHighTemplate" imagePosition="overlaps" alignment="center" imageScaling="proportionallyDown" id="rgx-mB-Rva">
                         <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
                         <font key="font" metaFont="system"/>
                     </buttonCell>
+                    <accessibility description="full volume"/>
                     <connections>
                         <action selector="maxVolume:" target="-2" id="89B-BN-U8S"/>
                     </connections>
                             </items>
                         </menu>
                     </popUpButtonCell>
+                    <accessibility description="tracks selection"/>
                 </popUpButton>
             </subviews>
-            <point key="canvasLocation" x="466" y="429"/>
+            <point key="canvasLocation" x="73" y="25"/>
         </customView>
     </objects>
     <resources>