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

Number of tables as word rather than integer #109

Closed
jonathonmellor opened this issue Dec 1, 2023 · 2 comments
Closed

Number of tables as word rather than integer #109

jonathonmellor opened this issue Dec 1, 2023 · 2 comments
Labels
accessibility Meeting the guidelines enhancement New feature or request

Comments

@jonathonmellor
Copy link

This package is amazing and has gotten me out of a very tight spot (rapid turn around deadline for an new OS).

Would it be possible to change the convention for "This worksheet contains 1 table" to
"This worksheet contains one table". We have had feedback from our content designer.

Perhaps using something form here? https://stackoverflow.com/questions/46652066/convert-integer-to-words

From the AF guidance: https://analysisfunction.civilservice.gov.uk/policy-store/releasing-statistics-in-spreadsheets/

the example is: "Cell A2 should describe the number of tables on the sheet and how they are presented, for example ‘This worksheet contains eight tables presented next to each other horizontally with one blank column in between each table. Each table applies to a different age group’."

Thanks again for making this fantastic package.

@jonathonmellor jonathonmellor changed the title Number of tables as character string rather than numeric Number of tables as word rather than integer Dec 1, 2023
@matt-dray
Copy link
Collaborator

Thanks for your kind words and for pointing this out!

{a11ytables} should conform to the 'releasing statistics in spreadsheets' guidance in the first instance, so I agree that text should be used in this case.

I think I had defaulted previously to my (perhaps faulty) knowledge of the GOV.UK Style Guide, which talks about using numerals when referring to values under 10.

@matt-dray matt-dray added enhancement New feature or request accessibility Meeting the guidelines labels Dec 1, 2023
@jonathonmellor
Copy link
Author

Amazing, thank you!

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
Projects
None yet
Development

No branches or pull requests

2 participants