-
Notifications
You must be signed in to change notification settings - Fork 360
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
Develop example of a datagrid with advanced, spreadsheet-like features #155
Comments
In examples/grid/dataGrids.html: 1. Added link to issue 104. 2. Added documentation of accessibility features. 3. Added description of keyboard support. 4. Added description of roles, states, properties, and focus management. 5. Updated template format. 6. Fixed footer navigation link. 7. Added note with link to new advanced data grid example page. new file: examples/grid/advancedDataGrid.html Stub HTML file for issue #155.
An HTML template file for this example is now in the repo in |
first, i want to know whether use html table as base structure to implement advanced datagrid or spreadsheet-like feature |
@LinboLen does it make sense to add the same data to a HTML table? If so, yes :). |
I agree that Aria should be used. How does one make a screen reader read A-1 notation while using a grid? |
@frastlin, by A-1 notation, do you mean column and row cell addresses like in Excel where A1 is column 1 row 1 and C3 is column 3 row 3? There are a wide variety of ways to enable such information to be automatically spoken. However, as a user, one thing that is extremely important to me is the ability to control if, how, and when such information is announced. Probably the best way for enabling that, at this time, is to use colheader and rowheader cells for the col and row titles. You could then also enable users to hide or show the address row and column. |
This would work great! The only problem is that you would still hear the column and row number announced, so the message, using aria, would be something like: |
Frankly, it is significantly easier to build your own implementation of a spreadsheet than to use the proper Aria roles. I think there needs to be a spreadsheet element in HTML that has attributes that allow for callbacks and other things that normal cells have. But the actual management of aria in grids, in my experience, is gotten wrong 95% of the time. I have asked over 20 large companies how many blind users they have testing their products for UX and no one actually tests on blind users. This means that there is probably something that is not working correctly somewhere in the crazy globs of code in today's single page apps. Wrong implementations happen at all levels of Aria, but in Grids most often. Ease and speed are today's motto, so my boss always tells me to build as fast as possible at for the first iterations and refactor later. This means forgoing Aria almost altogether. I can build a spreadsheet app in the quarter of the time using live-regions. |
any update on this? |
Reading https://www.w3.org/TR/wai-aria-practices-1.1/#gridNav_inside I'm not sure how to handle when a cell contains multiple widgets and the widgets rely on Enter to trigger an action. Allowing only F2 to disable the grid navigation will require some knowledge from the user, specially on Apple keyboards which require Fn to be pressed. I was expecting that this demo would include this use case. |
Just implement the Menu Button pattern inside the cell. I don't see a conflict with the What you can't do is include multiple widget/buttons in the same cell, but you can split them in different cells and use CSS to make them look like the same cell. |
Looking forward for this to completed! |
Develop an implementation of the
grid design pattern
where:
The text was updated successfully, but these errors were encountered: