XenForo
Administrative
- Thread starter
- Admin
- #1
When initializing a tooltip, the JS does set
Code:
developer.mozilla.org
Read more
ادامه مطلب...
aria-label
on the element which often isn't valid:Code:
Code:
if (
!$target.attr('aria-label')
&& !$target.attr('aria-labelledby')
&& !$.trim($target[0].textContent).length
)
{
$target.attr('aria-label', title);
}
aria-label - Accessibility | MDN
The aria-label attribute defines a string value that labels an interactive element.Not all elements can be given an accessible name. Neither aria-label nor aria-labelledby should be used...
Click to expand...
Read more
ادامه مطلب...