Skip to content

Commit

Permalink
Wrap the summary items inside only a ul and li items (removing a div)
Browse files Browse the repository at this point in the history
  • Loading branch information
pattonwebz committed Jun 25, 2024
1 parent e35e5af commit 4b06022
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions admin/class-ajax.php
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,8 @@ public function summary() {
}
}

$html['content'] .= '<ul>';
$html['content'] .= '<ul class="edac-summary-grid">';

$html['content'] .= '<li class="edac-summary-total" aria-label="' . $summary['passed_tests'] . '% Passed Tests">';

$html['content'] .= '<div class="edac-summary-total-progress-circle ' . ( ( $summary['passed_tests'] > 50 ) ? ' over50' : '' ) . '">
Expand All @@ -123,7 +123,7 @@ public function summary() {

$html['content'] .= '</li>';

$html['content'] .= '<div class="edac-summary-stats">
$html['content'] .= '
' . edac_generate_summary_stat(
'edac-summary-errors',
$summary['errors'],
Expand All @@ -148,7 +148,7 @@ public function summary() {
/* translators: %s: Number of ignored items */
sprintf( _n( '%s Ignored Item', '%s Ignored Items', $summary['ignored'], 'accessibility-checker' ), $summary['ignored'] )
) . '
</div>
</ul>
<div class="edac-summary-readability">
<div class="edac-summary-readability-level">
Expand Down

0 comments on commit 4b06022

Please sign in to comment.