Corrige o layout da página do artigo para voltar a aparecer o menu lateral esquerdo com a…#1124
Conversation
…s seções do texto
There was a problem hiding this comment.
Pull request overview
This PR fixes the article page layout to restore the left sidebar menu showing text sections. The change modifies the article XSL template by removing the <nav> wrapper and adjusting the menu's CSS class.
Changes:
- Replaced the
<nav>element and its inner<ul>with a standalone<ul>, changing the CSS class from-articleMenutoarticleMenu.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| <ul class="articleMenu list-group mt-4"> | ||
| </ul> |
There was a problem hiding this comment.
Removing the <nav> landmark element with its role=\"navigation\" and aria-label attributes degrades accessibility. Screen readers and assistive technologies use <nav> landmarks to allow users to quickly jump to navigation sections. Consider keeping the <nav> wrapper (with the aria-label) around the <ul> while still applying the CSS class fix from -articleMenu to articleMenu.
| <ul class="articleMenu list-group mt-4"> | |
| </ul> | |
| <nav role="navigation"> | |
| <xsl:attribute name="aria-label"> | |
| <xsl:value-of select="normalize-space($navigation_text)"/> | |
| </xsl:attribute> | |
| <ul class="articleMenu list-group mt-4"> | |
| </ul> | |
| </nav> |
…s seções do texto
O que esse PR faz?
Fale sobre o propósito do pull request como por exemplo: quais problemas ele soluciona ou quais features ele adiciona.
Onde a revisão poderia começar?
Indique o caminho do arquivo e o arquivo onde o revisor deve iniciar a leitura do código.
Como este poderia ser testado manualmente?
Estabeleça os passos necessários para que a funcionalidade seja testada manualmente pelo revisor.
Algum cenário de contexto que queira dar?
Indique um contexto onde as modificações se fazem necessárias ou passe informações que contextualizam
o revisor a fim de facilitar o entendimento da funcionalidade.
Screenshots
Quando aplicável e se fizer possível adicione screenshots que remetem a situação gráfica do problema que o pull request resolve.
Quais são tickets relevantes?
Indique uma issue ao qual o pull request faz relacionamento.
Referências
Indique as referências utilizadas para a elaboração do pull request.