WIP dolGetButtonAction lib

This commit is contained in:
GregM 2022-02-23 09:25:43 +01:00
parent 059548105c
commit e21a9bdd7d

View File

@ -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;
}