[wp-trac] [WordPress Trac] #60064: The no-js css rule in twenty fifteen should be more specific
WordPress Trac
noreply at wordpress.org
Wed Dec 13 21:56:39 UTC 2023
#60064: The no-js css rule in twenty fifteen should be more specific
--------------------------+-----------------------------
Reporter: shawfactor | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Themes | Version:
Severity: minor | Keywords:
Focuses: |
--------------------------+-----------------------------
The css directive in style.css of the twenty fifteen theme
.no-js .main-navigation ul ul {
should be altered to this
html.no-js .main-navigation ul ul
As other plugins like buddypress add their own no-js classes to the body
which can cause conflicts. I have raised this with them directly:
https://buddypress.trac.wordpress.org/ticket/9033#ticket
This could be widened into a broader ticket on a standard way of adding
no-js classes that themes or plugins could folllow as right now done add
it to the html and some to the body class
--
Ticket URL: <https://core.trac.wordpress.org/ticket/60064>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list