Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: Adding CSS style to nav list
@Jacob
a massive thanks … other than having to add the styling to my form it performs as adverized.
(I’ll get it to work via accessing my proper screen.css file after I recover from my 3 day marathon on trying to arm-wrestle automatic dynmaic nav )
I can see that I am a css luddite… I have never heard of this Aria css stuff.
ok. Now I move on to populating the pages with content using TxP tags
I’ll be back
…. texted postive
Offline
#14 Today 02:51:17
Re: Adding CSS style to nav list
jakob wrote #341465:
And if you want it not just to look good but also to inform people using assistive devices which section is current, you could do:
Fwiw, I am not sure that aria-current=page is really appropriate when the link points to a section rather than an individual (article) page.
e.g. Bici “portfolio” link to a section containing multiple articles : portfolio/web-design, portfolio/print-design etc. In that case it is not really appropriate. The relevant MDN article suggest aria-selected as an option.
–^–
Bici, I am sorry if I copy pasted something at the wrong place in my code sample.
Where is that emoji for a solar powered submarine when you need it ?
Sand space – admin theme for Textpattern
phiw13 on Codeberg
Offline
#15 Today 05:09:48
Re: Adding CSS style to nav list
phiw13 wrote #341469:
Fwiw, I am not sure that
aria-current=pageis really appropriate when the link points to a section rather than an individual (article) page.e.g. Bici “portfolio” link to a section containing multiple articles :
portfolio/web-design,portfolio/print-designetc. In that case it is not really appropriate. The relevant MDN article suggestaria-selectedas an option.–^–
Bici, I am sorry if I copy pasted something at the wrong place in my code sample.
massive thanks to both of you. i have two working samples… big leap forward for me.
now to solve the other output issues. individual article outputs
…. texted postive
Offline