Re: Landmarks without labels or no landmarks at all?

Sorry, I forgot to include the link to the issue:

https://github.com/zostera/django-bootstrap5/pull/686

thanks,
tobias


On 18/09/2024 08.19, Tobias Bengfort wrote:
> Hi everyone,
> 
> I am using a library that uses a <nav> element without accessible label 
> for pagination. I am currently discussing with the maintainer how to fix 
> this. There are three proposals on the table:
> 
> Either we remove the <nav> element and put the responsibility of adding 
> one with a proper label on the developers who use the library. If they 
> fail to do that, there will be no landmark.
> 
> Or we add a parameter for the label. If developers do not provide that 
> parameter, there will be a landmark with an empty label.
> 
> A third option is to provide a default value for the label. However, it 
> is out of scope for the project to provide localization. If developers 
> do not provide the parameter, the label might be in the wrong language.
> 
> What do you think, which of these options is best?
> 
> thanks,
> tobias

Received on Wednesday, 18 September 2024 06:46:50 UTC