-
Notifications
You must be signed in to change notification settings - Fork 60
[AX] <table> should be taken out of <figure> and the <figcaption> should become the table’s <caption> #40
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
Conversation
@swift-ci please test |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Gave it a quick test. Looks the same hehe. Good job.
Co-authored-by: Dobromir Hristov <[email protected]>
@swift-ci please test |
@swift-ci test |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This works alright from what I could test. Left a small comment.
@@ -53,4 +58,8 @@ export default { | |||
/deep/ p { | |||
display: inline-block; | |||
} | |||
|
|||
caption { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess this is less of a concern, but if caption-side: bottom;
is applied, this styling will not work as expected. However I am not sure how to check that with pure CSS. MDN jus suggest using padding around the caption...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
After investigating it, I also didn't find a way of checking if caption is on top or bottom so I applied a generic margin: 0fe3af6
@swift-ci test |
…ion> should become the table’s <caption> (swiftlang#40)" This reverts commit 81138c8.
Bug/issue #30234820, if applicable:
Summary
Tables were contained within a
<figure>
element. However, there is no need for this and it was making the tables much less accessible. Tables should stand on their own with the previous<figcaption>
as the table’s<caption>
.Dependencies
NA
Testing
Use the provided fixture folder:
manual-fixtures.zip
Steps:
VUE_APP_DEV_SERVER_PROXY=/path/to/manual-fixtures/ npm run serve
Checklist
npm test
, and it succeeded