W3C home > Mailing lists > Public > w3c-wai-gl@w3.org > January to March 2019

Re: Code in Pre should not be a failure at this time.

From: Patrick H. Lauke <redux@splintered.co.uk>
Date: Sat, 2 Feb 2019 01:44:24 +0000
To: w3c-wai-gl@w3.org
Message-ID: <a138be48-d134-2c5d-995b-1fcf96c98f9a@splintered.co.uk>
The problem is that, to my knowledge, there's no way to style individual 
lines in a <code> or <pre> block with pure CSS, unless some extra 
elements have been used to delimit individual lines as well...

P

On 02/02/2019 01:03, Wayne Dick wrote:
> I'm workin' on it.
> 
> On Fri, Feb 1, 2019 at 1:51 PM Jonathan Avila <jon.avila@levelaccess.com 
> <mailto:jon.avila@levelaccess.com>> wrote:
> 
>     Editor like Notepad++ show line numbers and then have no line number
>     for lines that wrap.  So some sort of indicator would do the job for
>     wrapped text that is not a line break.____
> 
>     __ __
> 
>     Jon____
> 
>     __ __
> 
>     *From:* Wayne Dick <wayneedick@gmail.com <mailto:wayneedick@gmail.com>>
>     *Sent:* Friday, February 1, 2019 3:31 PM
>     *To:* GLWAI Guidelines WG org <w3c-wai-gl@w3.org
>     <mailto:w3c-wai-gl@w3.org>>
>     *Subject:* Code in Pre should not be a failure at this time.____
> 
>     __ __
> 
>     *CAUTION:*This email originated from outside of the organization. Do
>     not click links or open attachments unless you recognize the sender
>     and know the content is safe.____
> 
>     __ __
> 
>     In my final note on crowd sourcing Pre I outlined the difficulties
>     with code. However, we do not have an alternative html construct
>     that does the job.____
> 
>     __ __
> 
>     I think we should work on some basic format rules to enable
>     formatting that does not obscure block structure when it word
>     wraps.  I can pull down some examples to see what we can do. BUT
>     this should be WCAG 2.1 only. ____
> 
>     __ __
> 
>     We need a bridge until suitable semantic code for developed for
>     HTML.____
> 
>     __ __
> 
>     Best, Wayne____
> 


-- 
Patrick H. Lauke

www.splintered.co.uk | https://github.com/patrickhlauke
http://flickr.com/photos/redux/ | http://redux.deviantart.com
twitter: @patrick_h_lauke | skype: patrick_h_lauke
Received on Saturday, 2 February 2019 01:44:48 UTC

This archive was generated by hypermail 2.4.0 : Thursday, 24 March 2022 21:08:29 UTC