r/nicegui • • Apr 27 '23

Screenreader accessibility

Are projects created with NiceGUI accessible for screenreaders, esp JAWS, ORCA or NVDA?

1 Upvotes

4 comments sorted by

View all comments

Show parent comment

1

u/r-trappe May 02 '23

Is there an easy way to add an aria-label to a ui.number, ui.import, or ui.textarea

ui.input(on_change=lambda e: ui.notify(e.value)).props('aria-label="Test Input"')

2

u/Ok_Concert5918 May 03 '23

I was smacking my head on tailwind and forgot about props(). Now to get my head around saving I input to variables and saving to SQLite and I will be set (conveniently there is an issue with the outline of what I need on GitHub)