fix: add aria labels to forms (#2270)

This commit is contained in:
Kane Sweet 2022-04-18 00:31:04 -04:00 committed by GitHub
parent 09af858fbc
commit 100e562dcc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -123,6 +123,7 @@ const envTooltipPlugin = new HoppReactiveEnvPlugin(envVars, view)
const initView = (el: any) => {
const extensions: Extension = [
EditorView.contentAttributes.of({ "aria-label": props.placeholder }),
inputTheme,
tooltips({
position: "absolute",