? ? Pending

User tests: Successful: Unsuccessful:

avatar C-Lodder
C-Lodder
5 May 2017

Pull Request for Issue #15832

Summary of Changes

Replace all element-invisible classes with sr-only.

Keep the element-invisible class in the template SCSS files but update to use the same styling as sr-only for B/C

avatar C-Lodder C-Lodder - open - 5 May 2017
avatar C-Lodder C-Lodder - change - 5 May 2017
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 5 May 2017
Category Administration com_banners com_categories com_contact com_content com_joomlaupdate com_languages com_menus com_newsfeeds com_search Templates (admin) Front End com_tags Layout Libraries JavaScript Modules
avatar brianteeman
brianteeman - comment - 5 May 2017

I thought we weren't maintaining CSA ba kwarsa compatibility?

avatar wilsonge
wilsonge - comment - 5 May 2017

We aren't doing full backwards compatibility. But we're mapping limited numbers of classes to try and make dev work easier

avatar brianteeman
brianteeman - comment - 5 May 2017

thanks for answering

avatar brianteeman
brianteeman - comment - 5 May 2017

Maybe I misunderstand but if you are keeping the element-invisible css for b/c don't you also have to ensure that they javascript that was targeting that class still works as well. This PR changes all the js to only target the sr-only class.

So in summary while you are trying to keep backwards compatibility for anyone using the element-invisible class its only partially b/c because of the changing javascript.

avatar wilsonge
wilsonge - comment - 8 May 2017

You are correct. It is only partially b/c because if extensions are using element-invisible in some modal form fields they will hit issues because it now expects sr-only. I that's still an acceptable compromise though

@C-Lodder can you fix conflicts here please

avatar brianteeman
brianteeman - comment - 8 May 2017

I have added a documentation required tag so this change can be added to the docs

avatar C-Lodder C-Lodder - change - 8 May 2017
Labels Added: ? ?
avatar C-Lodder
C-Lodder - comment - 8 May 2017

@wilsonge conflicts done

avatar wilsonge wilsonge - change - 8 May 2017
Status Pending Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2017-05-08 10:16:26
Closed_By wilsonge
avatar wilsonge wilsonge - close - 8 May 2017
avatar wilsonge wilsonge - merge - 8 May 2017
avatar wilsonge
wilsonge - comment - 8 May 2017

Thanks Brian and also thanks Charlie :)

Add a Comment

Login with GitHub to post a comment