how to handle accessibility for web application when textbox label is not required to be shown -



in web application have textbox don't want assign label due specific purpose. in order provide accessibility requires label associated every textbox. in case how handle accessibility without providing label textbox?
thanks in advance!

i think can <input aria-label="my label here" />. way won't have have label attribute/extra dom node, screen readers should still read out aria-label text. alternatively, use <label> tag , hide css.


Comments

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

javascript - Clean way to programmatically use CSS transitions from JS? -

android - send complex objects as post php java -