How to verify if a field has a soft-tone red bar?

Hi all,

In a form, I need to verify if some fields (mandatory fields) have this “soft-tone red barre”:

Have you an idea on how can this be verified?

Many thanks!

The HTML will undoubtedly have some indication (whether it’s an attribute of an element or a separate element entirely) of this red bar. Can you share the HTML for both fields (mandatory and optional), and some of the surrounding elements?