Re: OL and the START attribute

Thanks Patrick.

That's what I am doing now.

I still like the concept of the AT API being able to work out that an OL with other OLs following that have incrementing START attributes should be announced stating the number of items in the entire list, even though it's broken. But I am perhaps too much of an optimist.

Cheers,

Alan

________________________________________
From: Patrick H. Lauke <redux@splintered.co.uk>
Sent: Wednesday, May 12, 2021 12:50 PM
To: w3c-wai-ig@w3.org
Subject: Re: OL and the START attribute

Ce message a été envoyé par un expéditeur externe. Veuillez faire preuve de prudence et ne pas cliquer sur les liens ou ouvrir les pièces jointes à moins de reconnaître l'expéditeur et de savoir que le contenu est sûr.

This message was sent from an external sender. Please exercise caution and do not click links or open attachments unless you recognize the sender and know the content is safe.

On 12/05/2021 12:33, Bristow, Alan wrote:
[...]
> DETAIL
> ---
> If I want to construct this...
>
> List of pets I like
> 1. I like cats
> Hey, look at these cats [link to happy cats]
> 2. I also like dogs
>
> Ignoring the first line (an H2) and the third (a P), if I use two OL tags, each with an LI, the second OL tag including the attribute and value
> start="2"
>
> then *visually* I get what I want, a list that is clearly two items, with some other content between the two items. Also the content is valid HTML.

Maybe it's because the example is massively simplified, but...why not
just do

<h2>List of pets I like</h2>
<ol>
   <li>
     <p>I like cats</p>
    <p>Hey, look at these cats ...</p>
   </li>
   <li>I also like dogs</li>
</ol>

(with a bit of CSS to match the current look you're getting)

P
--
Patrick H. Lauke

https://www.splintered.co.uk/ | https://github.com/patrickhlauke
https://flickr.com/photos/redux/ | https://www.deviantart.com/redux
twitter: @patrick_h_lauke | skype: patrick_h_lauke



Received on Wednesday, 12 May 2021 17:27:58 UTC