~alcinnz/rhapsode

38f17984080b556db492dc62578bc7bf111da509 — Adrian Cochrane 4 years ago 7543169
Stylesheet updates for details, taking advantage of pseudoclasses, and attempted counters fix.
1 files changed, 11 insertions(+), 2 deletions(-)

M useragent.css
M useragent.css => useragent.css +11 -2
@@ 1,6 1,9 @@
head, link, meta, style, script, title, base {speak: never}
datalist, template {speak: never}
html {speak-as: normal no-punctuation}
:root {
    speak-as: normal no-punctuation;
    counter-reset: -rhaps-table, -rhaps-section, -rhaps-paragraph
}
[lang] {-rhaps-lang: attr(lang)} /* Pass this info through styletree into output */

/** Forms **/


@@ 86,7 89,7 @@ abbr {speak-as: spell-out}

q, blockquote {voice-family: female 2}
cite {voice-stress: reduce}
dialog {speak: never} dialog[open] {speak: always}
dialog:not([open]) {speak: always}
kbd {speak-as: spell-out}
progress {content: -rhaps-percentage(attr(value) attr(max)) "%"}
sub {voice-rate: x-fast}


@@ 94,8 97,14 @@ sup {voice-rate: fast}
var {voice-rate: slow}
aside {voice-volume: soft}

details > :not(caption:first-of-type) {speak: never}
details:target > *, details[open] > * {speak: always}

/* Localized into:
- English
- French (surprisingly same as English)
- Hungarian
- Dutch */

/** ARIA */
[aria-hidden] {speak: never}