Move the heading role on the sidebar label (bug 2020737)

This commit is contained in:
Calixte Denizet 2026-03-04 15:25:11 +01:00
parent 68cca32e20
commit f6401e4344
No known key found for this signature in database
GPG Key ID: 0C5442631EE0691F

View File

@ -126,7 +126,7 @@ See https://github.com/adobe-type-tools/cmap-resources
aria-describedby="viewsManagerHeaderLabel"
data-l10n-id="pdfjs-views-manager-sidebar"
>
<div id="viewsManagerHeader" role="heading" aria-level="2">
<div id="viewsManagerHeader">
<div id="viewsManagerTitle">
<div id="viewsManagerSelector">
<button
@ -164,7 +164,7 @@ See https://github.com/adobe-type-tools/cmap-resources
</li>
</menu>
</div>
<span id="viewsManagerHeaderLabel" class="viewsManagerLabel"></span>
<span id="viewsManagerHeaderLabel" class="viewsManagerLabel" role="heading" aria-level="2"></span>
<button
id="viewsManagerAddFileButton"
class="toolbarButton viewsManagerButton"