What are the differences between Accordion pattern and Disclosure pattern? - uiaccessibility

Apart from keyboard interaction, are there any major differences between Accordion and Disclosure patterns? Why does aria authoring practice have two different topics for logically similar show/hide components?

Aria-practices for Accordion says,
An accordion is a vertically stacked set of interactive headings that each contain a title, content snippet, or thumbnail representing a section of content.
An Accordion is a stack of Disclosures, aligned either vertically or horizontally, that mostly contains a list of nav items or nested disclosures.
While a Disclosure itself is an independent pattern implementing show/hide functionality.
Try to compare the keyboard accessibilities of Accordion and Disclosure. One of the accessibilities in an accordion is if a new Header is clicked to view its hidden panel, then the previously opened panel must be closed

Related

Custom drawer menu used in all pages

I am new to cross platform development using Xamarin and currently I'm into the "trial and error"-phase.
I want to create my own drawer menu, that goes from bottom and upwards on slide. The menu will have different stop stages since the buttons (navigations) will be grouped by some logical things such as "Favorites", "Frequently used" etc. where each row (group) will contain the buttons.
Is it possible to create a "master page" with a header and also the footer which is the drawer?
I stumbled upon the ControlTemplate, however to me that only seem to be a master layout that can be used in pages to get the same look-and-feel without redundant style coding. As per Xamarin documentation
Control templates provide a clean separation between the appearance of a page and its content, enabling the creation of pages that can easily be themed.
But I need to add some behavior to it such as the sliding animation etc. and I would really not like to add a container in each xaml-file that I place the drawer menu in within each xaml.cs file.
Is there a good way of achieving something like this?
All help is appreciated.
The Slide Over Kit may help. It is a free plug in that allows you to create slide in panels from any direction.
https://github.com/XAM-Consulting/SlideOverKit

Setting tabstop (keyboard accessibility) for grid controls in Xaml

I have a Xaml page that has a bunch of different grids within grids. The page has 3 main "buttons" for a user to click. I want to allow a user using just a keyboard to tab through and select these 3 buttons, however because they are grid's, they do not have a tabstop. Anyone have a suggestion how I achieve this without a complete redesign of the page using something other than grids (such as buttons)?

Scrollable list of text fields (a form) with tab navigation

Goal: Implement a vertically scrollable list of custom editable items (a text field + a button). The list and its items should autoresize in the horizontal direction. Tab / Shift-Tab navigation should navigate between the text fields.
Current solution: A one column NSTableView with view-based cells. But there is a problem with the Tab navigation. NSTableView handles the Tab key in its own way. I've tried all the subclassing hacks from SO, but failed to implement a normal Tab / Shift-Tab navigation between text fields.
Alternative solution: I've also tried making a custom stack view inside NSScrollView, but failed to make its subviews to autoresize.
Question: Looking for an open-source example or an advice from those who done such a thing before. Thanks in advance!

VB.NET overlaying panels is not working

I am overlaying a bunch of panels on top of one another. I want to be able to click a button to display which ever panel is in the stack referred to by unique names (panel1, panel2...).
However, the bottom panel some how is always the parent of whoever is on top of it. Therefore, If I were to set the visibility of the bottom panel to false, then nothing on top of the bottom panel can be made visible.
How do I make these overlayed panels independent to each other instead of having a parent-child relationship?
I faced the same situation a time ago. The more pragmatic way that I found was to use a tab control and hide/show tabs accordingly. It is possible to get rid of the label of the tab, so users dont even know about its existence. The rule is to have one and only one tab visible in any given time.

Creating draggable panels

I want to create a panel which has three child panels which can be dragged to left side only. when they are fully visible( when they are completely appear on the parent panel), the parent panel should be desabled ( I used modal config, but the child panel overlay on one another and they resized to the html content inside them). When three child panels were dragged to the left side, the parent panel should be enabled. User may again drag those child panels right to the initial position, then the parent panel again should be desabled. I could only create the child panels with the sliding effect, but don't know how to acheive other requirements, coz i am new to sencha touch and extjs. Are there any other resources to learn more about sencha and ExtJs?
And other thing is, as an example, Sencha docs dont explain more about Draggable object's 'constraint' ,'direction' ..etc. where can I find more details about Those classed which are not fully described in their docs.
I have attached two images( initial look of the panels and how it should look when child panels are dragged), Can anyone give me few hints how to achieve my task?. Thank you very much!!