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

Apply proper header styles #42

Open
matt-dray opened this issue Mar 3, 2022 · 1 comment
Open

Apply proper header styles #42

matt-dray opened this issue Mar 3, 2022 · 1 comment
Labels
accessibility Meeting the guidelines enhancement New feature or request priority: high Important or urgent
Milestone

Comments

@matt-dray
Copy link
Collaborator

matt-dray commented Mar 3, 2022

The guidance says that sheet titles should be header H1. I can't see how to do this in {openxlsx}.

Also not sure if Excel can actually distinguish between simply adding H1 markup vs H1 style.

I think you apply H1 by applying it as a style, as per the Home > Cell styles menu:

Screenshot 2022-03-03 at 16 44 11

It's possible that marking-up the cell will invoke the 'H1 cell style' that's default in Excel, which we don't want.

(Thanks for the reminder of this, @phil-hall-moj)

@matt-dray matt-dray added enhancement New feature or request accessibility Meeting the guidelines labels Mar 3, 2022
@matt-dray
Copy link
Collaborator Author

Also H2 headers to the subheadings on the cover page, for example.

@matt-dray matt-dray changed the title Add H1 header markup to cell A1 Apply proper header styles Mar 8, 2022
@matt-dray matt-dray added the priority: high Important or urgent label Mar 9, 2022
@matt-dray matt-dray added this to the v0.3.1 milestone Jan 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accessibility Meeting the guidelines enhancement New feature or request priority: high Important or urgent
Projects
None yet
Development

No branches or pull requests

1 participant