It’s long over due to talk openly about legal hiring practices in various countries. For example it is normal and legal for companies in Mexico to include gender and age requirements in job postings. What about your country?
Many companies tend to ask candidate to identify their race and veteran status
In the US they do. It’s a requirement for some companies to extend a preference for hiring veterans.
Here are some articles that talk about job postings for men only: https://thewire.in/women/women-jobs-india-ads-prefer-men
In Europe , a lot of people include age, address, sex, marital status and even sometimes a picture with a resume
Would you be able to provide a link or two to job descriptions that has gender and age requirements?