Bug-Report: Polish text in the Aria labels of the WCAG templates

Bug-Report: Polish text in the Aria labels of the WCAG templates


quickstart/templates/yootheme_public/templates/search.php

Line: 25
  1. $search['aria-label'] = 'Pole wyszukiwania';
Line: 50
  1. $toggle['aria-label'] = 'Otwórz wyszukiwarkę';
Line: 59
  1. <button class="uk-modal-close-full" aria-label="zamknij" type="button" uk-close></button>

Please use the joomla translation functions and provide a namespace.

For example:

  1. $search['aria-label'] = Text::_('TPL_YOOTHEME_SEARCH_ARIA_LABEL');

  1. $toggle['aria-label'] = Text::_('TPL_YOOTHEME_TOGGLE_ARIA_LABEL')

  1. <button class="uk-modal-close-full" aria-label="<?=Text::_('TPL_YOOTHEME_BUTTON_ARIA_LABEL')?>" type="button" uk-close></button>
The namespaces could also be called DJ_TEMPLATE_SEARCH_ARIA_LABEL or something similar.

Afterwards, the label can be adapted to the user's language as described by you.
It would be advantageous if the text was written in English as standard.


      • Topic Participants

      • Jens