Content deleted Content added
try and make better for screen reader. I'm testing in orca, not sure how this will work on other screen readers. It seemed to make it better, but im not 100% sure. |
try to fix for dark mode |
||
Line 10:
|formula=r{{{n}}}
|type=plain
|style=background-color: light-dark( hsl(55,100%,70%,var(--calculator-colorstep{{#expr:{{{n}}}*2}})), hsl(55,100%,25%,var(--calculator-colorstep{{#expr:{{{n}}}*2}})) ); color: inherit
}} = q<sub>{{{n}}}</sub> × {{calculator
|aria-live=off
|formula=r{{#expr:{{{n}}}+1}}
|type=plain|
style=background-color: light-dark( hsl( calc( var( --calculator-colorstep{{#expr:{{{n}}}*2}},0) * 0.39215 + 55), 100%, 70%, calc( var( --calculator-colorstep{{#expr:{{{n}}}*2}},0) + var(--calculator-colorstep{{#expr:{{{n}}}*2+2}}))), hsl( calc( var( --calculator-colorstep{{#expr:{{{n}}}*2}},0) * 0.39215 + 55), 100%, 25%, calc( var( --calculator-colorstep{{#expr:{{{n}}}*2}},0) + var(--calculator-colorstep{{#expr:{{{n}}}*2+2}}))) ); color: inherit
}} + r<sub>{{{n}}}</sub><br>
}}<!--
Line 33:
|type=plain
|aria-live=off
|style=background-color: light-dark( hsl(155,100%,70%,var(--calculator-colorstep{{#expr:{{{n}}}*2+2}})), hsl(155,100%,25%,var(--calculator-colorstep{{#expr:{{{n}}}*2+2}})) ) ; color: inherit
}}
}}{{calculator-hideifzero
|