Skip to content

Paragraphs in search results are not identified as <p> in the markup #8380

@jonels-msft

Description

@jonels-msft

Problem

Paragraphs in search results are stored in divs rather than <p>. This withholds information from screenreaders which would help orient users.

Relevant code:

var rv = $('<div class="context"></div>').text(excerpt);

Reproducible Project

https://docs.citusdata.com/en/v9.3/search.html?q=azure&check_keywords=yes&area=default#

Error Logs/Results

paragraphs - MAS 1 3 1-Paragraph content are programmatically not defined

Expected Results

Use true paragraphs, as described in WCAG 1.3.1

Environment Info

  • Python Version: 3.7.7
  • Sphinx Version: 1.4.9
  • RTD Theme Version: 0.2.4

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions