User tests: Successful: Unsuccessful:
Related to #26206
Removes some code added in #21227 which is now unused (the skipLabelFor
attribute) as we now just outright don't render the label. Remove the check for the switcher class and instead add a class level flag to hide the label. It comes with clear documentation about the risks of using the flag.
This is the structural fix to the issue in the other PR. Once this is merged THEN we should merge #26206 to remove the useless labels
Go to the Tags component options and find the direction field.
None
Status | New | ⇒ | Pending |
Category | ⇒ | Layout Libraries |
Title |
|
Labels |
Added:
?
|
Doesn't solve the issue because since #25085 the label is always rendered for screen readers (hiddenLabel
attribute only adds sr-only
class). The simplest fix would be to change string comparison to a strpos()
check here https://github.com/joomla/joomla-cms/pull/26423/files#diff-1a31ec6292bd41ba0bafe545bf8c1262L952 (and move it to RadioField
class).
But, IMO, we should stop using class
attribute to set layout and use layout
attribute instead. There's PR #26214 for that.
Sorry, I don't understand the question.
I have tested this item
error applying patch
Patch could not be applied due to exception with layouts/joomla/form/renderlabel.php. Joomla\Filesystem\File::move: Rename failed.
using a pbf instance
Setting Value
PHP Built On Linux joomlapbf.directrouter.com 2.6.32-754.3.5.el6.x86_64 #1 SMP Tue Aug 14 20:46:41 UTC 2018 x86_64
Database Type mysql
Database Version 10.2.27-MariaDB
Database Collation utf8mb4_unicode_ci
Database Connection Collation utf8mb4_general_ci
PHP Version 7.2.23
Web Server Apache
WebServer to PHP Interface cgi-fcgi
Joomla! Version Joomla! 4.0.0-beta1-dev Development [ Amani ] 17-October-2019 20:21 GMT
User Agent Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.120 Safari/537.36
I have tested this item
I have tested this item
works!
I have tested this item
I have tested this item
Status | Pending | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2019-10-19 12:45:02 |
Closed_By | ⇒ | HLeithner |
thx
I have tested this item✅ successfully on 930302e
- Go to Tags Options
This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/26423.