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

Add explicit value calculations for textbox and searchbox role #1720

Closed
spectranaut opened this issue Apr 12, 2022 · 8 comments · Fixed by chlane/aria#1
Closed

Add explicit value calculations for textbox and searchbox role #1720

spectranaut opened this issue Apr 12, 2022 · 8 comments · Fixed by chlane/aria#1
Assignees
Labels
clarification clarifying or correcting language that is either confusing, misleading or under-specified
Milestone

Comments

@spectranaut
Copy link
Contributor

A textbox has a value according to the spec: A type of input that allows free-form text as its value. But ARIA does not specify how the value is calculated and CORE-AAM does not specify how the implicit value is translated into the accessibility APIs.

Combobox's value is specified and we will probably want to follow the same convention.

Whatever we specify for textbox probably will apply to searchbox as well.

@jnurthen jnurthen added this to the ARIA 1.4 milestone Apr 14, 2022
@jnurthen jnurthen modified the milestones: ARIA 1.4, ARIA 1.3 Apr 14, 2022
@jnurthen jnurthen removed the Agenda label Apr 19, 2022
@spectranaut spectranaut added the clarification clarifying or correcting language that is either confusing, misleading or under-specified label Jun 30, 2022
@chlane
Copy link
Contributor

chlane commented Jul 6, 2022

When looking at how a combobox is currently named, it leads to the definition of a button as seen below.

Otherwise, the value of the combobox is represented by its descendant elements and can be determined using the same method used to compute the name of a button from its descendant content.

The button definition doesn't link to https://www.w3.org/TR/accname-1.1/.

Is it reasonable to link to the accname calculation rather than the button definition?

@spectranaut can I work on this one?

@spectranaut
Copy link
Contributor Author

yeah feel free! I'll put you on as assigned.

I agree is makes more sense to link to the accname calculation.

@chlane
Copy link
Contributor

chlane commented Jul 19, 2022

@spectranaut I decided not to link to the accname calculation since it goes beyond looking at descendant content for a value.

@chlane
Copy link
Contributor

chlane commented Oct 6, 2022

@spectranaut can this be closed since PR 1783 was approved?

chlane added a commit to chlane/aria that referenced this issue Oct 6, 2022
'Added explanations for how textboxes and searchboxes obtain thier values to fix w3c#1720
chlane added a commit to chlane/aria that referenced this issue Feb 9, 2023
Fixes w3c#1720. Removing the MUST statement about getting the value for a combobox because it includes logic to get a value. The method to get a value will be handled outside the ARIA spec, in either accName or Core-AAM. See the discussion at w3c/accname#184.
@pkra pkra reopened this Feb 9, 2023
@pkra
Copy link
Member

pkra commented Feb 9, 2023

Re-opening since this looked like an accidental close across forks. #1871 is the local PR, I believe.

@spectranaut
Copy link
Contributor Author

We are now discussion this issue in accname, in this issue: w3c/accname#200

Maybe we should close this as a duplicate, or leave it open in case someone searches this repo?

@pkra
Copy link
Member

pkra commented Mar 14, 2024

Maybe we should close this as a duplicate, or leave it open in case someone searches this repo?

I'd say let's close then. Searching closed issues will surface this.

@pkra pkra closed this as completed Mar 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
clarification clarifying or correcting language that is either confusing, misleading or under-specified
4 participants