Set footer.logo.alt in themeConfig in docusaurus.config.js to ''.
Run npm start.
Expected behavior
The website to start just fine with the footer logo having an empty alt="" attribute.
Actual Behavior
The site doesn't compile and an error is shown in the terminal output:
A validation error occured.
The validation system was added recently to Docusaurus as an attempt to avoid user configuration errors.
We may have made some mistakes.
If you think your configuration is valid and should keep working, please open a bug report.
ValidationError: "footer.logo.alt" is not allowed to be empty
š Bug Report
This is exactly the same issue as https://github.com/facebook/docusaurus/issues/3350, but this time in the footer config instead of the navbar config.
When I use an empty string for
footer.logo.alt
in my config, I get the following validation error:Have you read the Contributing Guidelines on issues?
Yes
To Reproduce
footer.logo.alt
in themeConfig in docusaurus.config.js to ''.npm start
.Expected behavior
The website to start just fine with the footer logo having an empty
alt=""
attribute.Actual Behavior
The site doesn't compile and an error is shown in the terminal output:
Your Environment
Reproducible Demo
yarn install
yarn start
ValidationError: "footer.logo.alt" is not allowed to be empty
errorOr with a CodeSandbox account:
ValidationError: "footer.logo.alt" is not allowed to be empty
error