Why Nostr? What is Njump?
2023-08-18 15:25:36

mx amber alex on Nostr: Okay I've got a #HTML #accessibility question/problem here... I'm building a site ...

Okay I've got a #HTML #accessibility question/problem here...

I'm building a site here and it's all default colours, meaning black text on white background. Links are the default blue (purple if clicked), and I've not prescribed any colours via CSS anywhere.

In the footer, I've got an anchor element (a link) with an abbreviation element nested inside it.

Now Firefox's automated accessibility checks throw an error here, and this is a weird one: it claims the text is blue on a purple background, and that it doesn't have enough contrast.

The way I see it, it somehow (how?) thinks there is an unclicked link on the background of a clicked link, which isn't what's happening at all... any help?

Pictured below is the piece in question. The CC link is what's being flagged. Reversing the order of the elements (nesting the anchor inside the abbreviation element) doesn't fix anything, but throws a different error (now it says blue on gray isn't enough, even though there is no gray anywhere).

#WebDesign

Author Public Key
npub1672pskw9uttatp6ynpt4ppzl05yntczyc72hagecghq45lmh3zsq0pvvam