[Murray]You're right about Firefox (though for me it doesn't pick up the inverted text colour; background seems to be accurate). I guess you'd need to check the contrast manually, or use something like aXe dev tools (free Firefox plugin), which seems to work correctly when I tested it myself.