aria-label two validation results with almost same code

Hello.

I discovered suspicious behaviour while validating html code.
With current version of your online validator (https://validator.w3.org/nu), this code

<!DOCTYPE html>
<html lang="">
<head>
<title>Test</title>
</head>
<body>

<ul>
       <li class="prev_parent">
             <a href="../../index.html" aria-label="Prejsť na predošlú stránku" class="pagination_prev idsk-button idsk-button--secondary">
                    <span class="visuallyhidden">Predošlá stránka</span>
             </a>
       </li>
       <li class="">
             <a href="../../index.html" aria-label="Prejsť na stránku 1" class="pagination_button idsk-button idsk-button--secondary">1</a>
       </li>
       <li class="current_parent">
             <a href="index.html" aria-label="Prejsť na stránku 2" aria-current="true" class="pagination_button idsk-button idsk-button--secondary">2</a>
       </li>
       <li class="">
             <a href="../3/index.html" aria-label="Prejsť na stránku 3" class="pagination_button idsk-button idsk-button--secondary">3</a>
       </li>
       <li class="next_parent">
             <a href="../3/index.html" aria-label="Prejsť na ďalšiu stránku" class="pagination_next idsk-button idsk-button--secondary">
                    <span class="visuallyhidden">Nasledujúca stránka</span>
             </a>
       </li>
</ul>

</body>
</html>

Looks good.
Document checking completed. No errors or warnings to show.

But almost same code structure

<!DOCTYPE html>
<html lang="">
<head>
<title>Test</title>
</head>
<body>

<ul>
       <li>
             <a href="/sk/vyhladavanie?query=&amp;search=1&amp;type_person%5BF%5D=on&amp;ico=&amp;user_obligor=&amp;judicature=0&amp;sum_obligor_min=&amp;sum_obligor_max=&amp;due_date_min=&amp;due_date_max=&amp;count_day_due_date_min=&amp;count_day_due_date_max=&amp;obligor_SR=on&amp;display_table=on&amp;page=0&amp;per_page=10#searchResultsTable" aria-label="Prejsť na 1. stranu">1</a>
       </li>
       <li class="active">
             <a href="/sk/vyhladavanie?query=&amp;search=1&amp;type_person%5BF%5D=on&amp;ico=&amp;user_obligor=&amp;judicature=0&amp;sum_obligor_min=&amp;sum_obligor_max=&amp;due_date_min=&amp;due_date_max=&amp;count_day_due_date_min=&amp;count_day_due_date_max=&amp;obligor_SR=on&amp;display_table=on&amp;page=1&amp;per_page=10#searchResultsTable" aria-current="true" arial-label="Prejsť na 2. stranu">2</a>
       </li>
       <li>
             <a href="/sk/vyhladavanie?query=&amp;search=1&amp;type_person%5BF%5D=on&amp;ico=&amp;user_obligor=&amp;judicature=0&amp;sum_obligor_min=&amp;sum_obligor_max=&amp;due_date_min=&amp;due_date_max=&amp;count_day_due_date_min=&amp;count_day_due_date_max=&amp;obligor_SR=on&amp;display_table=on&amp;page=2&amp;per_page=10#searchResultsTable" aria-label="Prejsť na 3. stranu">3</a>
       </li>
       <li>
             <a href="/sk/vyhladavanie?query=&amp;search=1&amp;type_person%5BF%5D=on&amp;ico=&amp;user_obligor=&amp;judicature=0&amp;sum_obligor_min=&amp;sum_obligor_max=&amp;due_date_min=&amp;due_date_max=&amp;count_day_due_date_min=&amp;count_day_due_date_max=&amp;obligor_SR=on&amp;display_table=on&amp;page=3&amp;per_page=10#searchResultsTable" aria-label="Prejsť na 4. stranu">4</a>
       </li>
</ul>

</body>
</html>

Returns this
[cid:image002.png@01D95C9B.7263F520]


Did you see some difference, or it is a bug in validator?

Thank you

S pozdravom / Best regards

Stanislav Paška
Konzultant

MIM, s.r.o.
Hraničná 18
821 09 Bratislava
www.mim.sk

mobil: +421 903 567 267
email: stanislav.paska@mim.sk

[image001]

Received on Friday, 24 March 2023 08:53:40 UTC