m. SVG+ARIA workaround for https://webkit.org/b/132540
authorJames Craig <jcraig@apple.com>
Mon, 19 May 2014 17:00:27 -0700
changeset 204 14fbee3f7450
parent 202 08012324e71e
child 209 9c4e588ab392
m. SVG+ARIA workaround for https://webkit.org/b/132540
src/indie-ui-context.html
--- a/src/indie-ui-context.html	Fri May 16 05:42:03 2014 -0700
+++ b/src/indie-ui-context.html	Mon May 19 17:00:27 2014 -0700
@@ -250,13 +250,13 @@
 										<tspan font-family="Helvetica" font-size="12" font-weight="500" x="0" y="25" textLength="235">automatically enable captions or subtitles in </tspan>
 										<tspan font-family="Helvetica" font-size="12" font-weight="500" x="0" y="39" textLength="131">your preferred language.</tspan>
 									</text>
-									<g role="button" id="allow_button" tabindex="0">
+									<g role="button" id="allow_button" tabindex="0" aria-label="Allow">
 										<path d="M 381 344 L 417 344 C 421.97055 344 426 348.02945 426 353 L 426 360.53906 C 426 365.50961 421.97055 369.53906 417 369.53906 L 381 369.53906 C 376.02945 369.53906 372 365.50961 372 360.53906 C 372 360.53906 372 360.53906 372 360.53906 L 372 353 C 372 348.02945 376.02945 344 381 344 Z" fill="#81bbff" stroke="black" stroke-linecap="round" stroke-linejoin="round" stroke-width="1"/>
 										<text transform="translate(377 349.76953)" fill="black" role="text">
 											<tspan font-family="Helvetica" font-size="12" font-weight="500" fill="black" x="7.6621094" y="11" textLength="28.675781">Allow</tspan>
 										</text>
 									</g>
-									<g role="button" id="deny_button" tabindex="0">
+									<g role="button" id="deny_button" tabindex="0" aria-label="Deny">
 										<path d="M 318 344 L 354 344 C 358.97055 344 363 348.02945 363 353 L 363 360.53906 C 363 365.50961 358.97055 369.53906 354 369.53906 L 318 369.53906 C 313.02945 369.53906 309 365.50961 309 360.53906 C 309 360.53906 309 360.53906 309 360.53906 L 309 353 C 309 348.02945 313.02945 344 318 344 Z" fill="#d9d9d9" stroke="black" stroke-linecap="round" stroke-linejoin="round" stroke-width="1"/>
 										<text transform="translate(314 349.76953)" fill="black" role="text">
 											<tspan font-family="Helvetica" font-size="12" font-weight="500" x="7.993164" y="11" textLength="28.013672">Deny</tspan>