Skip to content

Document ARIA mappings for usize properties - #757

Open
blinding-pixels wants to merge 1 commit into
AccessKit:mainfrom
blinding-pixels:Docs-usize-properties
Open

Document ARIA mappings for usize properties#757
blinding-pixels wants to merge 1 commit into
AccessKit:mainfrom
blinding-pixels:Docs-usize-properties

Conversation

@blinding-pixels

Copy link
Copy Markdown
Contributor

This continues the documentation work from #753 by covering the usize properties discussed in #749, using the same format established in #753.

A couple of points I would particularly appreciate confirmation on:

  • AccessKit uses zero-based indexes, whereas the corresponding ARIA properties use one-based indexes. This also led me to correct the PositionInSet documentation: its value must be less than SizeOfSet, rather than less than or equal to it.
  • AccessKit places SizeOfSet on the container, whereas ARIA places aria-setsize on each item.

I ran:

  • cargo fmt --all -- --check
  • RUSTDOCFLAGS="-D warnings" cargo doc -p accesskit --no-deps
  • cargo test -p accesskit

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.

1 participant