Hi, what Avast Mobile Security app version are you using?
The latest one has only one type of Web Shield, but in previous versions there used to be two. The advanced Web Shield (the one that requires Accessibility) could only be enabled, if the lite one was enabled. So either enable both Web Shields, or update to the latest app version.