From df2903089cd5932fe1e5106012a2faf6c6bb0113 Mon Sep 17 00:00:00 2001 From: Adrian Cochrane Date: Sat, 20 Jul 2019 11:20:21 +1200 Subject: [PATCH] Refine useragent CSS to use less 'voice-rate: x-slow' and more 'voice-pitch'. --- src/DefaultCSS.hs | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/DefaultCSS.hs b/src/DefaultCSS.hs index bff902f..6807916 100644 --- a/src/DefaultCSS.hs +++ b/src/DefaultCSS.hs @@ -11,11 +11,11 @@ userAgentCSS = unlines [ "", "button::before, input[type=button]::before, input[type=submit]::before {", " content: 'Button';", - " pitch: high;", + " voice-pitch: high;", "}", - "select::before, textarea::before, input::before {content: 'Input'; pitch: high}", - "output::before {content: 'Output'; pitch: high}", - "text-area, button, select, input, output {pitch: low}", + "select::before, textarea::before, input::before {content: 'Input'; voice-pitch: high}", + "output::before {content: 'Output'; voice-pitch: high}", + "text-area, button, select, input, output {voice-pitch: low}", "input, output {content: attr(value)}", "text-area {speak-as: literal-punctuation}", "", @@ -43,17 +43,17 @@ userAgentCSS = unlines [ "h3, th, summary, legend, dt {pause: medium; voice-rate: medium}", "h4 {pause: weak; voice-rate: fast}", "h5, h6 {pause: x-weak; voice-rate: fast}", - "h6 {pitch: high}", + "h6 {voice-pitch: high}", "", "/** Text **/", "hr {pause: x-strong}", "p, pre, samp, blockquote {pause: strong}", "pre, address, samp {speak-as: literal-punctuation}", "", - ":link {cue-before: url(link.wav); voice-rate: slow}", + ":link {cue-before: url(link.wav); voice-pitch: low}", ":link:visited {cue-before: url(link.wav) -1db}", "", - "b, strong {voice-rate: x-slow}", + "b, strong {voice-rate: slow}", "i, em {voice-stress: strong}", "br {pause: medium}", "code {speak-as: literal-punctuation}", -- 2.30.2