That’s when governments comes in. In france every new building has to be built with planning for charging equipment to be installed by anyone requesting it. For older buildings you have the right to ask for a full installation (it will obviously cost more)
Linked in the faq : https://static.redox-os.org/pkg/x86_64-unknown-redox/
Linked in the faq : https://gitlab.redox-os.org/redox-os/redox/-/blob/master/HARDWARE.md
The browser can lie all they want, at the end of the day the user has the final word if they want to change things.
Why wouldn’t it be my browser asking for the codecs it prefers instead of the website trying to guess my computer’s hardware ?
In my opinion, those warnings are not used to help users but to shame developpers for not trully sandboxing and verifying their apps. Developpers know that having this warning will decrease the number of users downloading it. The goal in the long run is to improve app sandboxing and security.