Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Fix W3 validator warning: Section lacks heading. #857

Merged

Conversation

Rotzbua
Copy link
Contributor

@Rotzbua Rotzbua commented Mar 28, 2022

What does this PR change? What problem does it solve?

Fix W3 validator warning: Section lacks heading.
Use div instead of section element, because already an article element.

Online validator: https://validator.w3.org/nu/

Was the change discussed in an issue or in the Discussions before?

Reference: #599

PR Checklist

  • This change adds/updates translations and I have used the template present here.
  • I have enabled maintainer edits for this PR.
  • I have verified that the code works as described/as intended.
  • This change adds a Social Icon which has a permissive license to use it.
  • This change does not include any CDN resources/links.
  • This change does not include any unrelated scripts such as bash and python scripts.
  • This change updates the overridden internal templates from HUGO's repository.

Use `div` instead of `section` element, because already an `article` element.
@Rotzbua
Copy link
Contributor Author

Rotzbua commented Mar 31, 2022

@adityatelange Why closed without any comment?

@adityatelange adityatelange reopened this Apr 19, 2022
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

Copy link
Owner

@adityatelange adityatelange left a comment

Choose a reason for hiding this comment

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

@adityatelange adityatelange merged commit c6e9568 into adityatelange:master Apr 19, 2022
adityatelange added a commit that referenced this pull request Apr 19, 2022
Use `div` instead of `section` element, because already an `article` element.
romainx pushed a commit to romainx/hugo-PaperMod that referenced this pull request Jul 26, 2022
Use `div` instead of `section` element, because already an `article` element.
romainx pushed a commit to romainx/hugo-PaperMod that referenced this pull request Jul 26, 2022
…yatelange#857)

Use `div` instead of `section` element, because already an `article` element.
minyeamer pushed a commit to minyeamer/hugo-PaperMod that referenced this pull request Sep 16, 2022
Use `div` instead of `section` element, because already an `article` element.
minyeamer pushed a commit to minyeamer/hugo-PaperMod that referenced this pull request Sep 16, 2022
…yatelange#857)

Use `div` instead of `section` element, because already an `article` element.
@Rotzbua Rotzbua deleted the fix_html_validator_warning branch January 27, 2023 00:14
kylethedeveloper pushed a commit to kylethedeveloper/hugo-PaperMod that referenced this pull request Feb 21, 2023
Use `div` instead of `section` element, because already an `article` element.
kylethedeveloper pushed a commit to kylethedeveloper/hugo-PaperMod that referenced this pull request Feb 21, 2023
…yatelange#857)

Use `div` instead of `section` element, because already an `article` element.
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants