Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Caption missing in Table Component #23675

Open
1 task done
deleonio opened this issue Apr 27, 2020 · 7 comments
Open
1 task done

Caption missing in Table Component #23675

deleonio opened this issue Apr 27, 2020 · 7 comments
Labels
improvement improve some features Inactive

Comments

@deleonio
Copy link

deleonio commented Apr 27, 2020

  • 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

@deleonio
Copy link
Author

#18934

@zombieJ zombieJ added the improvement improve some features label May 2, 2020
@mjfwebb
Copy link
Contributor

mjfwebb commented May 4, 2020

English reference for those interested: https://www.w3.org/TR/html401/struct/tables.html#h-11.2.2

@deleonio
Copy link
Author

Caption is required for accessibility / screenreader

@plmsz
Copy link

plmsz commented Jun 14, 2022

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.

@GiuZambot
Copy link

@plmsz I agree, we need to think more about accessibility in general

@Surm4
Copy link

Surm4 commented Dec 22, 2022

Any actions planned on this issue?

@KaraAJC
Copy link

KaraAJC commented Mar 15, 2024

Bumping this back up, as it's really needed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement improve some features Inactive
Projects
None yet
Development

No branches or pull requests

8 participants