mirror of https://github.com/MISP/MISP
Merge pull request #9529 from obert01/fix-hover-enrich-accessibility
Accessibility: Hover enrichment iconpull/9090/merge
commit
d2b18b0e8e
|
@ -146,7 +146,7 @@
|
|||
if (Configure::read('Plugin.Enrichment_hover_enable') && isset($modules) && isset($modules['hover_type'][$object['type']])) {
|
||||
$commonDataFields = sprintf('data-object-type="Attribute" data-object-id="%s"', $objectId);
|
||||
$spanExtra = Configure::read('Plugin.Enrichment_hover_popover_only') ? '' : sprintf(' class="eventViewAttributeHover" %s', $commonDataFields);
|
||||
$popupButton = sprintf('<i class="fa fa-search-plus useCursorPointer eventViewAttributePopup noPrint" title="%s" %s></i>', __('Show hover enrichment'), $commonDataFields);
|
||||
$popupButton = sprintf('<i class="fa fa-search-plus useCursorPointer eventViewAttributePopup noPrint" role="button" tabindex="0" title="%s" %s></i>', __('Show hover enrichment'), $commonDataFields);
|
||||
echo sprintf(
|
||||
'<span%s>%s</span> %s',
|
||||
$spanExtra,
|
||||
|
|
Loading…
Reference in New Issue