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