Hey folks,
I want to make some accessibility contributions but don’t know how to get started. For background, I have quite a bit of experience and am familiar with working with Node/NPM-based projects. I just don’t quite know how to work with this one.
For starters, I want to add role="region"
to the sidebar. I believe I tracked this back to core\ui\PageTemplate\sidebar.tid. I added role="region"
to:
<$scrollable fallthrough="no" class="tc-sidebar-scrollable" role="region" >
And now I guess I need to edit core\modules\widgets\scrollable.js. I do, adding a check for the attribute and a console.log
for good measure. But either I’ve edited the wrong files, or restarting the server via:
tiddlywiki editions/tw5-com-server --listen
is the wrong command or is missing a step.
Are there any developer docs I’ve missed? I’ve googled but haven’t found much. Also, I’ll need to restart quite a bit. Does anyone have a favorite setup for handling hot reload of changes? Or at least something to restart the server so I can refresh from the browser without having to switch between 3 windows?
Thanks.