? Pending

User tests: Successful: Unsuccessful:

avatar brianteeman
brianteeman
13 Aug 2018

a11y rules says that every page should have a meaningfu title

This PR adds the title "Administrator Login - sitename" to the title on the login page

avatar brianteeman brianteeman - open - 13 Aug 2018
avatar brianteeman brianteeman - change - 13 Aug 2018
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 13 Aug 2018
Category Administration Templates (admin)
avatar wilsonge
wilsonge - comment - 15 Aug 2018

For RTL Sites do we need to make this a sprintf rather than hardcoding it as 3 parts?

avatar brianteeman
brianteeman - comment - 15 Aug 2018

It's the page title in the browser not on screen so it depends a lot on the browser and most dont support rtl in the title

https://w3c.github.io/i18n-tests/results/native-user-interfaces

avatar brianteeman
brianteeman - comment - 15 Aug 2018

As it's a subjective thing which comes first, site name or title, I can try and change this pr to use the setting in the global.config.

avatar wilsonge
wilsonge - comment - 15 Aug 2018

I'm not too fussed. My question was just that - I just want to make sure we're not screwing things up again for RTL users

avatar brianteeman brianteeman - change - 15 Aug 2018
Labels Added: ?
avatar brianteeman
brianteeman - comment - 15 Aug 2018

Scrub that idea - the option is only for the frontend

but I just checked and the page title for the admin is set with this
$document->setTitle($this->get('sitename') . ' - ' . Text::_('JADMINISTRATION'));
and is not RTL aware - so I just updated this PR to match the order with sitename first

avatar wilsonge wilsonge - close - 15 Aug 2018
avatar wilsonge wilsonge - merge - 15 Aug 2018
avatar wilsonge wilsonge - change - 15 Aug 2018
Status Pending Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2018-08-15 15:19:48
Closed_By wilsonge
avatar wilsonge
wilsonge - comment - 15 Aug 2018

OK Cool. i'm down. and if we do need to change it in the future shouldn't be too hard

avatar brianteeman
brianteeman - comment - 15 Aug 2018

thanks

Add a Comment

Login with GitHub to post a comment