libs/web: add missing class attributes