让VoiceOver读取空<div>的'title'属性

时间:2015-11-19 08:06:42

标签: html title voiceover

我有div背景图片可点击。 div没有任何内容,我提供了title

如何启用iPad VoiceOver功能以阅读title的{​​{1}}?

如果不是div,我们是否可以使用任何ARIA属性让VoiceOver读取该属性?

2 个答案:

答案 0 :(得分:0)

您可以向该div添加一些虚拟文本并设置

font-size:0px
你的CSS中的

它会读出div中的文本,所以请保持相关性。

答案 1 :(得分:0)

您可以使用FLASK_ENV=development python -m {APP_PATH}.wsgi

  File "/Users/sumeyyeozkaynak/.virtualenvs/OptiwisdomSystemPants/lib/python3.7/site-packages/firebase_admin/_utils.py", line 21, in <module>
    import httplib2
  File "/Users/sumeyyeozkaynak/.virtualenvs/OptiwisdomSystemPants/lib/python3.7/site-packages/httplib2/__init__.py", line 40, in <module>
    import ssl
  File "/usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/lib/python3.7/ssl.py", line 98, in <module>
    import _ssl             # if we can't import it, let the error propagate
ImportError: dlopen(/usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/lib/python3.7/lib-dynload/_ssl.cpython-37m-darwin.so, 2): Library not loaded: /usr/local/opt/openssl/lib/libssl.1.0.0.dylib
  Referenced from: /usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/lib/python3.7/lib-dynload/_ssl.cpython-37m-darwin.so
  Reason: image not found