Skip to content
Snippets Groups Projects
Commit 1e0e7308 authored by Laurent's avatar Laurent
Browse files

fix HTML5

parent 0d689db1
No related merge requests found
Pipeline #18042 failed with stage
in 19 minutes
......@@ -27,9 +27,11 @@ class Intonation_View_RenderOverlay extends ZendAfi_View_Helper_BaseHelper {
return '';
$title = $element->getMainTitle();
$title = $this->view->div(['class' => 'card-title',
$title = $this->view->tag('span',
$title,
['class' => 'card-title',
'role' => 'heading',
'aria-level' => 2], $title);
'aria-level' => 2]);
$content = [$title];
......
......@@ -86,7 +86,7 @@ class Intonation_View_TagAction extends ZendAfi_View_Helper_BaseHelper {
}
protected function _getText($action, $img, $tag = 'div') {
protected function _getText($action, $img, $tag = 'span') {
if (!$text = $action->getText())
return '';
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment