Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#13 Yesterday 22:13:01

bici
Member
From: vancouver
Registered: 2004-02-24
Posts: 2,189
Website Mastodon

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

phiw13
Plugin Author
From: South-Western Japan
Registered: 2004-02-27
Posts: 3,546
Website

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

bici
Member
From: vancouver
Registered: 2004-02-24
Posts: 2,189
Website Mastodon

Re: Adding CSS style to nav list

phiw13 wrote #341469:

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.

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

Board footer

Powered by FluxBB