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

Aria Layout system #942

Open
lifeiscontent opened this issue Nov 11, 2018 · 7 comments
Open

Aria Layout system #942

lifeiscontent opened this issue Nov 11, 2018 · 7 comments
Labels
question Issue asking a question

Comments

@lifeiscontent
Copy link

If I was to build a layout design tool such as sketch/photoshop in the web, what sorts of aria attributes would I use to tell the user if they press an arrow key that a new layer would be selected.

I was thinking of using an aria grid, and dynamically updating the attributes when an element moved, but in a grid, items generally don't move.

is this concept something that can even be solved with aria?

@mcking65
Copy link
Contributor

Although we do not have a pattern to demonstrate it, a grid with moveable cells is definitely feasible. One thing we cannot yet do with grid is have empty spaces where there is no cell. So, you would need a strategy for filling the vacancy created when the cell being moved leaves its original position and a strategy for creating a vacancy at the new position. For example, the vacancy at the original position could be filled by subsequent cells flowing up and the new position would push all subsequent cells down -- kind of like how moving icons on the iPhone home screen works. It could also be possible to use rowspan or colspan, although, that would be complex.

@mcking65 mcking65 added the question Issue asking a question label Nov 30, 2018
@lifeiscontent
Copy link
Author

@mcking65 that's an interesting idea, I'll see if I can make an example of something like that.

thanks for your input!

@lifeiscontent
Copy link
Author

@mcking65 I think for this concept a grid might be too rigid. Any other thoughts?

@mcking65
Copy link
Contributor

mcking65 commented Dec 5, 2018

What kinds of problems have you encountered with grid?

What nomenclature do you use to describe the elements of the design? You mention "layer" and "selection" but then talk about "moving" something. Do you move "layers"? Do they overlap? Are they literally layered on top of one another?

When an element moves, how would you describe its position? Were you considering grid because you could describe it in terms that use row and column?

@lifeiscontent
Copy link
Author

I want to build a UML diagram for the web with wires and nodes with inputs/outputs

@lifeiscontent
Copy link
Author

@mcking65

@mcking65
Copy link
Contributor

mcking65 commented Dec 6, 2018

Oh ... ya, grid would not suffice.

I don't know if I can confidently say that ARIA has all the necessary semantics. But, that does not mean that you can create them using features that are available now. To get them to work with assistive technologies, however, may require some hacking.

You mighte be interested in the ARIA graphics module. AFAIK, there is not yet much written about authoring practices. But, the spec does provide quite a bit of useful authoring information.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Issue asking a question
Projects
None yet
Development

No branches or pull requests

2 participants