Accessibility, connectivity and resilience in complex networks