From e90a1a7ee3c0b98bf334442d0055ea8afe1c46a7 Mon Sep 17 00:00:00 2001 From: Adrian Cochrane Date: Sat, 14 Mar 2020 09:12:39 +1300 Subject: [PATCH] Avoid reading out webforms, that's another to-be-implemented mode. --- src/DefaultCSS.hs | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) diff --git a/src/DefaultCSS.hs b/src/DefaultCSS.hs index 70ba24a..677c98e 100644 --- a/src/DefaultCSS.hs +++ b/src/DefaultCSS.hs @@ -6,21 +6,9 @@ userAgentCSS = unlines [ "html {speak-as: normal no-punctuation}", "", "/** Forms **/", - "button[type=button], input[type=button] {speak: never} /* Won't do anything without JS */", - "", - "button::before, input[type=reset]::before, input[type=submit]::before {", - " content: 'Button';", - " voice-pitch: high;", - "}", - "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[placeholder] {content: attr(placeholder)}", - "input[value], output[value] {content: attr(value)}", - "text-area {speak-as: literal-punctuation}", - "", - "option {speak: never} option[checked] {speak: always}", - "select[multiple] option {cue-before: url(bulletpoint.wav)}", + "button, select, textarea, input, output {speak: never} /* Leave to special form entry mode */", + "button[type=submit] {speak: always}", + "input[type=submit][value] {speak: always; content: attr(value)}", "", "/** Tables **/", "table::before {content: 'Table'; voice-volume: x-soft}", -- 2.30.2