WIP dolGetButtonAction lib
This commit is contained in:
parent
059548105c
commit
e21a9bdd7d
@ -9965,6 +9965,7 @@ function dolGetButtonAction($label, $html = '', $actionType = 'default', $url =
|
||||
|
||||
if (empty($html)) {
|
||||
$html = $label;
|
||||
$attr['title'] = ''; // if html not set, leave label on title is redundant
|
||||
} else {
|
||||
$attr['aria-label'] = $label;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user