配音不是正在阅读我在文本框中输入的内容

par*_*shm 14 html javascript html5 voiceover electron

以下是我的代码:

    <form>
        <div class="form-group loginFormGrp">
            <label class="caption">Backup Cloud</label>
            <div class="custSelect loginSelect">
            <label class="caption">Server URL</label>
                <input type="text" aria-label="Server URL" name="serverUrl" class="form-control" placeholder="example.server.com" value="">
            </div>
            <div class="form-group loginFormGrp">
                <label class="caption">Email</label>
                <input type="text" aria-label="Email" name="email" class="form-control" placeholder="user@example.com" value="">
            </div>
            <div class="loginBtnRow">
                <button tabindex="0" type="submit" class="lgBtn btn btn-primary btn-block">Continue</button>
            </div>
        </div>
    </form>
Run Code Online (Sandbox Code Playgroud)

每当画外文突出显示输入文本字段时,它会显示"您当前正在文本字段中,在Web内容中.要在此字段中输入文本,请键入.要退出Web区域,...",当我开始键入时,它什么也没说.并检查其他appilcation或网站,它读取我正在键入的内容.但在我的情况下,它不读.如果有人知道解决方案,请帮忙.

Ram*_*esh 3

title向输入元素添加属性并提供附加文本。

添加aria-label到输入元素也应该由屏幕阅读器选择。

http://pauljadam.com/demos/title-aria-label.html提供了有关不同浏览器和屏幕阅读器如何处理这些属性的详细信息。