Skip to content

Conversation

@SingingBush
Copy link
Contributor

As per discussion on #68 (comment)
In newer JDK Javadoc will error if a table has no caption and warn if a table's caption is empty. A related OpenJDK issue (https://bugs.openjdk.org/browse/JDK-8247955) states that tables should have the role="presentation" attribute set to prevent this behaviour. This resolves the problem on recent JDK versions. However, it's worth noting that when using an outdated JDK such as Java 8 this attribute is unknown, which will also result in an error: error: unknown attribute: role

Copy link
Contributor

@elharo elharo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure any of these are presentational tables. role='presentation' typically indicates the table is used for layout; e.g. as an old-fashioned replacement for what we now do with CSS positions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants