Bug description
After updating to Nextcloud 33.0.3, the browser console shows the following warning on every page load:
[WARN] @nextcloud/vue: You need to fill either the text or the ariaLabel props in the button component.
{uid: 'ishizaka', app: '@nextcloud/vue', level: 1, text: undefined, ariaLabel: null, …}
The warning originates from MainMenu.js calling an NcButton component without providing either a text or ariaLabel prop, which are required for accessibility.
Steps to reproduce
- Log in to a Nextcloud 33.0.3 instance
- Open browser developer tools (F12) → Console tab
- Observe the
[WARN] @nextcloud/vue warning on every page load
Console output
MainMenu.js:27 [WARN] @nextcloud/vue: You need to fill either the text or the ariaLabel props in the button component.
{uid: 'ishizaka', app: '@nextcloud/vue', level: 1, text: undefined, ariaLabel: null, …}
log @ index.mjs:44
warn @ index.mjs:62
render @ NcButton-BaZAY-tN.mjs:236
@ vue.runtime.esm.js:2700
@ vue.runtime.esm.js:3891
@ vue.runtime.esm.js:3462
@ init.js:85
@ main.js:22
Expected behavior
The NcButton instance in MainMenu.js should include either a text or ariaLabel prop to satisfy the accessibility requirement enforced by @nextcloud/vue.
Environment
| Item |
Value |
| Nextcloud |
33.0.3 |
| PHP |
8.3.6 |
| OS |
Ubuntu 24.04.4 LTS |
| Browser |
Chrome 147 |
Bug description
After updating to Nextcloud 33.0.3, the browser console shows the following warning on every page load:
The warning originates from
MainMenu.jscalling anNcButtoncomponent without providing either atextorariaLabelprop, which are required for accessibility.Steps to reproduce
[WARN] @nextcloud/vuewarning on every page loadConsole output
Expected behavior
The
NcButtoninstance inMainMenu.jsshould include either atextorariaLabelprop to satisfy the accessibility requirement enforced by@nextcloud/vue.Environment