- I have searched the issues of this repository and believe that this is not a duplicate.
Reproduction link
https://github.com/ant-design/ant-design
Steps to reproduce
no option exists
What is expected?
We need a caption tag for accessibility
http://www.edition-w3.de/TR/1999/REC-html401-19991224/struct/tables.html#h-11.4
What is actually happening?
no caption tag
Environment | Info |
---|---|
antd | 4.1.5 |
React | 16 |
System | Windows |
Browser | Chrome |
thank you
6条答案
按热度按时间kknvjkwl1#
#18934
fsi0uk1n2#
English reference for those interested: https://www.w3.org/TR/html401/struct/tables.html#h-11.2.2
bogh5gae3#
Caption is required for accessibility / screenreader
wfypjpf44#
Hi, is this something that could be implement in the near future?
I've tried to render a caption with the property title:
<Table columns={columns} dataSource={data} title={() => <caption>Teste</caption>} />
But it's useless, since the NVDA doesn't read as caption.
nr9pn0ug5#
@plmsz I agree, we need to think more about accessibility in general
m3eecexj6#
Any actions planned on this issue?