Dismiss notice link lacks aria-label for a link without any text

In the public:notice_macros:notice macro there is this:
Code:

<a href="{{ link('account/dismiss-notice', null, {'notice_id': $notice.notice_id}) }}" class="notice-dismiss js-noticeDismiss" data-xf-init="tooltip" title="{{ phrase('dismiss_notice')|for_attr }}"></a>
The title attribute is removed so screen readers don't see it.

Adding an aria-label should fix that;
Code:

<a href="{{ link('account/dismiss-notice', null, {'notice_id': $notice.notice_id}) }}"...

Read more

Читать далее...
 
Активность
Пока что здесь никого нет
Назад
Верх Низ