Overwatch 2 Hero Ability Dependency

How dependent is a hero on their abilities? (An "ability" is anything not bound to a hero's primary fire or secondary fire by default [ex.: JQ's knife would not be considered an ability, neither would Soldier's rockets, etc.].)