Skip to content

Corrige o layout da página do artigo para voltar a aparecer o menu lateral esquerdo com a…#1124

Merged
robertatakenaka merged 1 commit intoscieloorg:masterfrom
robertatakenaka:corrige_menu_lateral_esquerdo_
Mar 10, 2026
Merged

Corrige o layout da página do artigo para voltar a aparecer o menu lateral esquerdo com a…#1124
robertatakenaka merged 1 commit intoscieloorg:masterfrom
robertatakenaka:corrige_menu_lateral_esquerdo_

Conversation

@robertatakenaka
Copy link
Copy Markdown
Member

…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.

Copilot AI review requested due to automatic review settings March 10, 2026 13:03
@robertatakenaka robertatakenaka merged commit 32f696d into scieloorg:master Mar 10, 2026
6 checks passed
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 -articleMenu to articleMenu.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +203 to +204
<ul class="articleMenu list-group mt-4">
</ul>
Copy link

Copilot AI Mar 10, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Suggested change
<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>

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants